aboutsummaryrefslogtreecommitdiff
path: root/testsuite/unzip.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/unzip.tests')
-rwxr-xr-xtestsuite/unzip.tests19
1 files changed, 16 insertions, 3 deletions
diff --git a/testsuite/unzip.tests b/testsuite/unzip.tests
index 6bcb6b3a2..af53de9df 100755
--- a/testsuite/unzip.tests
+++ b/testsuite/unzip.tests
@@ -14,7 +14,7 @@
14# Create a scratch directory 14# Create a scratch directory
15 15
16mkdir temp 16mkdir temp
17cd temp || exit 90 17cd temp || exit $?
18 18
19# Create test file to work with. 19# Create test file to work with.
20 20
@@ -54,9 +54,22 @@ SKIP=
54 54
55rm -f * 55rm -f *
56 56
57optional CONFIG_FEATURE_UNZIP_LZMA 57optional FEATURE_UNZIP_LZMA
58testing "unzip (archive with corrupted lzma)" "unzip -p ../unzip_bad_lzma_1.zip 2>&1; echo \$?" \ 58testing "unzip (archive with corrupted lzma 1)" "unzip -p ../unzip_bad_lzma_1.zip 2>&1; echo \$?" \
59"unzip: removing leading '/' from member names 59"unzip: removing leading '/' from member names
60unzip: corrupted data
61unzip: inflate error
621
63" \
64"" ""
65SKIP=
66
67rm -f *
68
69optional FEATURE_UNZIP_LZMA
70testing "unzip (archive with corrupted lzma 2)" "unzip -p ../unzip_bad_lzma_2.zip 2>&1; echo \$?" \
71"unzip: removing leading '/' from member names
72unzip: corrupted data
60unzip: inflate error 73unzip: inflate error
611 741
62" \ 75" \