From 96ed66d02da7cf15aac78ac4495d780530be41e3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Mar 2016 00:32:03 +0100 Subject: m fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test-all | 6 +++--- test-test/test | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test-all b/test-all index 4b4f24a..60c2139 100755 --- a/test-all +++ b/test-all @@ -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 -- cgit v1.2.3-70-g09d2