diff options
| author | Marek Chalupa <mchqwerty@gmail.com> | 2014-11-19 11:58:26 +0100 |
|---|---|---|
| committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-11-19 13:51:44 +0200 |
| commit | 4d617b83a7cbdb2eefb72796fc971564743e2bc5 (patch) | |
| tree | 78b1e53cc1402543ab484d0e71f165ada243dc09 | |
| parent | queue-test: put back timeout (diff) | |
| download | wayland-4d617b83a7cbdb2eefb72796fc971564743e2bc5.tar wayland-4d617b83a7cbdb2eefb72796fc971564743e2bc5.tar.gz wayland-4d617b83a7cbdb2eefb72796fc971564743e2bc5.tar.bz2 wayland-4d617b83a7cbdb2eefb72796fc971564743e2bc5.tar.lz wayland-4d617b83a7cbdb2eefb72796fc971564743e2bc5.tar.xz wayland-4d617b83a7cbdb2eefb72796fc971564743e2bc5.tar.zst wayland-4d617b83a7cbdb2eefb72796fc971564743e2bc5.zip | |
tests: don't print '\0' character
print "" (which results in no output) instead of
printing '\0' (which is not visible, but is there)
Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
| -rw-r--r-- | tests/test-runner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-runner.c b/tests/test-runner.c index 09c50e2..d965a43 100644 --- a/tests/test-runner.c +++ b/tests/test-runner.c @@ -129,8 +129,8 @@ test_set_timeout(unsigned int to) fprintf(stderr, "Timeout was %sset", re ? "re-" : ""); if (to != 0) - fprintf(stderr, " to %d second%c from now.\n", - to, to > 1 ? 's' : 0); + fprintf(stderr, " to %d second%s from now.\n", + to, to > 1 ? "s" : ""); else fprintf(stderr, " off.\n"); } |
