aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-21 08:26:42 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-22 14:29:53 +0300
commit1c710b5a981445e960dc96bfe730fb5ea0bc4d8c (patch)
tree6bcd480b51452124607b9047bb7a47c95ee7b7fb /tests
parent22bfdee79b65253fe2d5656303d2a00da934b00a (diff)
fs-tests: integck: remove unneeded \n
The 'errmsg()' macro adds "\n" at the end, so do not use it in our 'pcv()' and 'CHECK()' macros. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fs-tests/integrity/integck.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c
index 8703355..b8a440b 100644
--- a/tests/fs-tests/integrity/integck.c
+++ b/tests/fs-tests/integrity/integck.c
@@ -58,9 +58,9 @@
if (!(cond)) { \
int _err = errno; \
fflush(stdout); \
- errmsg("condition '%s' failed at %s:%d\n", \
+ errmsg("condition '%s' failed at %s:%d", \
stringify(cond), __FILE__, __LINE__); \
- errmsg("error %d (%s)\n", _err, strerror(_err)); \
+ errmsg("error %d (%s)", _err, strerror(_err)); \
exit(EXIT_FAILURE); \
} \
} while(0)
@@ -69,7 +69,7 @@
if (args.power_cut_mode) { \
int _err = errno; \
errmsg(fmt, ##__VA_ARGS__); \
- errmsg("error %d (%s) at %s:%d\n", \
+ errmsg("error %d (%s) at %s:%d", \
_err, strerror(_err), __FILE__, __LINE__); \
} \
} while(0)