diff options
author | David Phillips <david@sighup.nz> | 2017-12-28 22:11:21 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-12-28 22:11:21 +1300 |
commit | 5d8b9c9d853e4c2ea0fb83975dda504302eb1eac (patch) | |
tree | e0f3a33fc2c606e5724242a4bfdc1d7140f51d93 /test | |
parent | 14fc4fd65f3a86e41abc2e84ede792d21ddf3351 (diff) | |
download | hence-5d8b9c9d853e4c2ea0fb83975dda504302eb1eac.tar.xz |
Switch order of tags and names output in test script
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |