From 5d8b9c9d853e4c2ea0fb83975dda504302eb1eac Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 28 Dec 2017 22:11:21 +1300 Subject: Switch order of tags and names output in test script --- test/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test.sh') diff --git a/test/test.sh b/test/test.sh index 91dddbd..06a8062 100755 --- a/test/test.sh +++ b/test/test.sh @@ -4,13 +4,13 @@ fail="none" for i in test-* ; do if [[ "$i" != *.* ]] ; then - echo -n "$i: " if ./"$i" >"$i.stdout.log" 2>"$i.stderr.log" ; then - echo -e '[\e[0;32mPASS\e[0m]' + echo -ne '[\e[0;32mPASS\e[0m]' else - echo -e '[\e[1;31mFAIL\e[0m]' + echo -ne '[\e[1;31mFAIL\e[0m]' fail="indeed" fi + echo " $i" fi done -- cgit v1.1