From e9a4adbcf8ba469ca630d1f125aedeafe7a41eea Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 31 Aug 2014 15:32:09 +0200 Subject: [PATCH] Print "FAIL" instead of "FAILED" for consistency with other projects --- tests/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests.sh b/tests/tests.sh index 8ab8847..58c1cc5 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -45,7 +45,7 @@ _fail() res=$? if [ $res -ne 0 ]; then echo "./$test: $name: Failed with error code $res" >> "$target" - echo " FAILED ($name, error $res)" 1>&2 + echo " FAIL ($name, error $res)" 1>&2 else echo " PASS" 1>&2 fi @@ -67,7 +67,7 @@ _test() res=$? if [ $res -ne 0 ]; then echo "./$test: $name: Failed with error code $res" >> "$target" - echo " FAILED" 1>&2 + echo " FAIL" 1>&2 FAILED="$FAILED $test($name, error $res)" return 2 fi