aboutsummaryrefslogtreecommitdiffstats
path: root/patch-test/test
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-27 20:58:17 +0200
committerMattias Andrée <maandree@kth.se>2016-03-27 20:58:17 +0200
commit1f27d926a8ca6d4c3ca3018d7a4ebb592ba87260 (patch)
tree7bd3301ccdb64614761a062fc89fb30447d089ea /patch-test/test
parentm + add cat test (diff)
downloadbase-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/test')
-rwxr-xr-xpatch-test/test6
1 files changed, 3 insertions, 3 deletions
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