summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko2017-01-05 11:43:53 +0100
committerDenys Vlasenko2017-01-05 11:43:53 +0100
commite3c4db8b396e955ca01648ba51c0fd093f3cab56 (patch)
tree1a465001961fbe19e7c75a6c7b408b267835e5cd /testsuite
parent9c083f599a9924ad04855ce94439598e75424ad9 (diff)
downloadbusybox-e3c4db8b396e955ca01648ba51c0fd093f3cab56.zip
busybox-e3c4db8b396e955ca01648ba51c0fd093f3cab56.tar.gz
unzip: properly use CDF to find compressed files. Closes 9536
function old new delta unzip_main 2437 2350 -87 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/unzip.tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/unzip.tests b/testsuite/unzip.tests
index d8738a3..d9c4524 100755
--- a/testsuite/unzip.tests
+++ b/testsuite/unzip.tests
@@ -31,11 +31,10 @@ rmdir foo
rm foo.zip
# File containing some damaged encrypted stream
+optional FEATURE_UNZIP_CDF
testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \
"Archive: bad.zip
- inflating: ]3j½r«IK-%Ix
-unzip: corrupted data
-unzip: inflate error
+unzip: short read
1
" \
"" "\
@@ -49,6 +48,7 @@ BDYAAAAMAAEADQAAADIADQAAAEEAAAASw73Ct1DKokohPXQiNzA+FAI1HCcW
NzITNFBLBQUKAC4JAA04Cw0EOhZQSwUGAQAABAIAAgCZAAAAeQAAAAIALhM=
====
"
+SKIP=
rm *