diff options
Diffstat (limited to '')
-rwxr-xr-x | cksum-test/test | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cksum-test/test b/cksum-test/test index a1488ec..37a62b8 100755 --- a/cksum-test/test +++ b/cksum-test/test @@ -88,7 +88,14 @@ for f in $@; do $f done ) | tee result -! grep FAILED < result >/dev/null +! grep FAILED < result > /dev/null ret=$? +if test $ret != 0; then + if test $(grep FAILED < result | grep -v NON-POSIX | wc -l) = 1; then + ret=1 + else + ret=2 + fi +fi rm result exit $ret |