projects
/
platform
/
upstream
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf11e9d
)
tests: don't print '\0' character
author
Marek Chalupa
<mchqwerty@gmail.com>
Wed, 19 Nov 2014 10:58:26 +0000
(11:58 +0100)
committer
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Wed, 19 Nov 2014 11:51:44 +0000
(13:51 +0200)
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>
tests/test-runner.c
patch
|
blob
|
history
diff --git
a/tests/test-runner.c
b/tests/test-runner.c
index
09c50e2
..
d965a43
100644
(file)
--- 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");
}