diff options
author | Mattias Andrée <maandree@kth.se> | 2016-03-25 00:32:03 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-03-25 00:32:03 +0100 |
commit | 96ed66d02da7cf15aac78ac4495d780530be41e3 (patch) | |
tree | a3e7c9c08ce3f00b24d47d95c11d3c9b5fb7c3c2 | |
parent | test-test: m + more rigorous bigint test (diff) | |
download | base-util-tests-96ed66d02da7cf15aac78ac4495d780530be41e3.tar.gz base-util-tests-96ed66d02da7cf15aac78ac4495d780530be41e3.tar.bz2 base-util-tests-96ed66d02da7cf15aac78ac4495d780530be41e3.tar.xz |
m fix
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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 |