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 /patch-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 'patch-test')
-rwxr-xr-x | patch-test/__test | 2 | ||||
-rwxr-xr-x | patch-test/test | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/patch-test/__test b/patch-test/__test index ad58dbf..82605f1 100755 --- a/patch-test/__test +++ b/patch-test/__test @@ -113,7 +113,7 @@ for i in $@; do if test -z $NPE; then run patch-e $i else - run patch-e $i " (NON-POSIX)" + run patch-e $i " (NON-STANDARD)" fi fi cd .. diff --git a/patch-test/test b/patch-test/test index 2e8b994..9fd6f5a 100755 --- a/patch-test/test +++ b/patch-test/test @@ -48,9 +48,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 } @@ -1669,7 +1669,7 @@ cat result1 result2 > result ! 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 |