diff options
author | Mattias Andrée <maandree@kth.se> | 2016-03-27 20:58:17 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-03-27 20:58:17 +0200 |
commit | 1f27d926a8ca6d4c3ca3018d7a4ebb592ba87260 (patch) | |
tree | 7bd3301ccdb64614761a062fc89fb30447d089ea /test-test | |
parent | m + add cat test (diff) | |
download | base-util-tests-1f27d926a8ca6d4c3ca3018d7a4ebb592ba87260.tar.gz base-util-tests-1f27d926a8ca6d4c3ca3018d7a4ebb592ba87260.tar.bz2 base-util-tests-1f27d926a8ca6d4c3ca3018d7a4ebb592ba87260.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'test-test')
-rwxr-xr-x | test-test/test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test-test/test b/test-test/test index d936077..d105fa9 100755 --- a/test-test/test +++ b/test-test/test @@ -23,9 +23,9 @@ report () report_np () { if test $1 = 0; then - printf "\033[1;32mTest %s OK (NON-POSIX)\033[m\n" "$2" + printf "\033[1;32mTest %s OK (NON-STANDARD)\033[m\n" "$2" else - printf "\033[1;31mTest %s FAILED (NON-POSIX)\033[m\n" "$2" + printf "\033[1;31mTest %s FAILED (NON-STANDARD)\033[m\n" "$2" fi } @@ -570,7 +570,7 @@ done ! grep FAILED < result > /dev/null ret=$? if test $ret != 0; then - if test $(grep FAILED < result | grep -v NON-POSIX | wc -l) = 0; then + if test $(grep FAILED < result | grep -v NON-STANDARD | wc -l) = 0; then ret=1 else ret=2 |