summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sync
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.com>2016-12-13 11:48:49 -0200
committerShuah Khan <shuahkh@osg.samsung.com>2016-12-13 07:24:34 -0700
commit981c3db62e2d2dfb0c5725dd55d8c3cf8ed4edd8 (patch)
treefb7d9a69e45176549e8b8425613d2e7f377cd70a /tools/testing/selftests/sync
parentc461265679ce934c26339897bba2ff5c2120262f (diff)
downloadtalos-obmc-linux-981c3db62e2d2dfb0c5725dd55d8c3cf8ed4edd8.tar.gz
talos-obmc-linux-981c3db62e2d2dfb0c5725dd55d8c3cf8ed4edd8.zip
selftest: sync: improve assert() failure message
Print "ERROR" on all messages instead of using the not well defined terms like "BAD". Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/sync')
-rw-r--r--tools/testing/selftests/sync/synctest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/sync/synctest.h b/tools/testing/selftests/sync/synctest.h
index 4e0e59f6fcf3..e7d1d57dba7a 100644
--- a/tools/testing/selftests/sync/synctest.h
+++ b/tools/testing/selftests/sync/synctest.h
@@ -32,7 +32,7 @@
#define ASSERT(cond, msg) do { \
if (!(cond)) { \
- printf("[BAD]\t%s", (msg)); \
+ printf("[ERROR]\t%s", (msg)); \
return 1; \
} \
} while (0)
OpenPOWER on IntegriCloud