aboutsummaryrefslogtreecommitdiff
path: root/tests/bzcat.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bzcat.test')
-rwxr-xr-xtests/bzcat.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bzcat.test b/tests/bzcat.test
index 4eacc684..ef1b07f5 100755
--- a/tests/bzcat.test
+++ b/tests/bzcat.test
@@ -6,6 +6,10 @@
[ -f testing.sh ] && . testing.sh
#testing "name" "command" "result" "infile" "stdin"
+testing "overflow" \
+ 'bzcat "$TOPDIR/files/bzcat/overflow.bz2" >/dev/null 2>/dev/null;
+ [ $? -eq 1 ] && echo good' "good\n" "" ""
+
echo "hello" > file
tar -cjf file.tar.bz2 file
# Get system bzcat