diff options
Diffstat (limited to 'testsuite/unzip.tests')
-rwxr-xr-x | testsuite/unzip.tests | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/testsuite/unzip.tests b/testsuite/unzip.tests index 2e4becdb8..6bcb6b3a2 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 | ||
16 | mkdir temp | 16 | mkdir temp |
17 | cd temp | 17 | cd temp || exit 90 |
18 | 18 | ||
19 | # Create test file to work with. | 19 | # Create test file to work with. |
20 | 20 | ||
@@ -52,7 +52,18 @@ NzITNFBLBQUKAC4JAA04Cw0EOhZQSwUGAQAABAIAAgCZAAAAeQAAAAIALhM= | |||
52 | " | 52 | " |
53 | SKIP= | 53 | SKIP= |
54 | 54 | ||
55 | rm * | 55 | rm -f * |
56 | |||
57 | optional CONFIG_FEATURE_UNZIP_LZMA | ||
58 | testing "unzip (archive with corrupted lzma)" "unzip -p ../unzip_bad_lzma_1.zip 2>&1; echo \$?" \ | ||
59 | "unzip: removing leading '/' from member names | ||
60 | unzip: inflate error | ||
61 | 1 | ||
62 | " \ | ||
63 | "" "" | ||
64 | SKIP= | ||
65 | |||
66 | rm -f * | ||
56 | 67 | ||
57 | # Clean up scratch directory. | 68 | # Clean up scratch directory. |
58 | 69 | ||