diff options
Diffstat (limited to '')
-rwxr-xr-x | test-all | 6 | ||||
-rwxr-xr-x | test-test/test | 1 |
2 files changed, 4 insertions, 3 deletions
@@ -33,10 +33,10 @@ for t in $@; do printf '\033[1mTesting %s ...\033[m\n' "$t" ./${t}-test/test r=$? - if test $r -ge 2; then - echo $t >> result - elif test $r = 1; then + if test $r = 2; then echo $t '(standards-compliant)' >> result + elif test $r -ge 1; then + echo $t >> result fi echo done diff --git a/test-test/test b/test-test/test index 8f3f23b..c524f15 100755 --- a/test-test/test +++ b/test-test/test @@ -1,5 +1,6 @@ #!/bin/bash +cd -- "$(dirname "$0")" if test -z "$TEST"; then TEST=../test fi |