aboutsummaryrefslogtreecommitdiff
path: root/testsuite/bzcat.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/bzcat.tests')
-rwxr-xr-xtestsuite/bzcat.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/bzcat.tests b/testsuite/bzcat.tests
index 78d74f229..5b4f3f4b3 100755
--- a/testsuite/bzcat.tests
+++ b/testsuite/bzcat.tests
@@ -1,5 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2 2
3FAILCOUNT=0
4
3ext=bz2 5ext=bz2
4 6
5bb="busybox " 7bb="busybox "
@@ -35,6 +37,7 @@ check() {
35 echo "PASS: $1" 37 echo "PASS: $1"
36 else 38 else
37 echo "FAIL: $1" 39 echo "FAIL: $1"
40 FAILCOUNT=$((FAILCOUNT + 1))
38 fi 41 fi
39} 42}
40 43
@@ -47,3 +50,5 @@ prep; check "bzcat: dont delete src" "${bb}bzcat t2.bz2; test -f t2.bz2 && echo
47 50
48) 51)
49rm -rf testdir 52rm -rf testdir
53
54exit $((FAILCOUNT <= 255 ? FAILCOUNT : 255))