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 /uniq-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 '')
-rwxr-xr-x | uniq-test/test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uniq-test/test b/uniq-test/test index a175632..74692ef 100755 --- a/uniq-test/test +++ b/uniq-test/test @@ -19,9 +19,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 } @@ -140,7 +140,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 |