aboutsummaryrefslogtreecommitdiffstats
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
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>
-rwxr-xr-x__sum/__test2
-rwxr-xr-xbasename-test/test2
-rwxr-xr-xcat-test/test2
-rwxr-xr-xcksum-test/test2
-rwxr-xr-xdirname-test/test2
-rwxr-xr-xecho-test/test2
-rwxr-xr-xfalse-test/test2
-rwxr-xr-xpatch-test/__test2
-rwxr-xr-xpatch-test/test6
-rwxr-xr-xtest-test/test6
-rwxr-xr-xtrue-test/test2
-rwxr-xr-xuniq-test/test6
12 files changed, 18 insertions, 18 deletions
diff --git a/__sum/__test b/__sum/__test
index 51678fe..ef42b6c 100755
--- a/__sum/__test
+++ b/__sum/__test
@@ -164,7 +164,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
diff --git a/basename-test/test b/basename-test/test
index 03a7f98..8cab7a3 100755
--- a/basename-test/test
+++ b/basename-test/test
@@ -115,7 +115,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
diff --git a/cat-test/test b/cat-test/test
index b735768..b59188a 100755
--- a/cat-test/test
+++ b/cat-test/test
@@ -88,7 +88,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
diff --git a/cksum-test/test b/cksum-test/test
index b1de5e2..d4e0e88 100755
--- a/cksum-test/test
+++ b/cksum-test/test
@@ -91,7 +91,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
diff --git a/dirname-test/test b/dirname-test/test
index 9e1883a..f6dcb73 100755
--- a/dirname-test/test
+++ b/dirname-test/test
@@ -93,7 +93,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
diff --git a/echo-test/test b/echo-test/test
index 3ff1762..508ad78 100755
--- a/echo-test/test
+++ b/echo-test/test
@@ -28,7 +28,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
diff --git a/false-test/test b/false-test/test
index b7b0798..c3e1432 100755
--- a/false-test/test
+++ b/false-test/test
@@ -78,7 +78,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
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
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
diff --git a/true-test/test b/true-test/test
index c3ddd97..31e73e4 100755
--- a/true-test/test
+++ b/true-test/test
@@ -78,7 +78,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
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