diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-05 11:43:53 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-05 11:43:53 +0100 |
commit | e3c4db8b396e955ca01648ba51c0fd093f3cab56 (patch) | |
tree | 1a465001961fbe19e7c75a6c7b408b267835e5cd /testsuite | |
parent | 9c083f599a9924ad04855ce94439598e75424ad9 (diff) | |
download | busybox-w32-e3c4db8b396e955ca01648ba51c0fd093f3cab56.tar.gz busybox-w32-e3c4db8b396e955ca01648ba51c0fd093f3cab56.tar.bz2 busybox-w32-e3c4db8b396e955ca01648ba51c0fd093f3cab56.zip |
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-x | testsuite/unzip.tests | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/unzip.tests b/testsuite/unzip.tests index d8738a3bd..d9c45242c 100755 --- a/testsuite/unzip.tests +++ b/testsuite/unzip.tests | |||
@@ -31,11 +31,10 @@ rmdir foo | |||
31 | rm foo.zip | 31 | rm foo.zip |
32 | 32 | ||
33 | # File containing some damaged encrypted stream | 33 | # File containing some damaged encrypted stream |
34 | optional FEATURE_UNZIP_CDF | ||
34 | testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \ | 35 | testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \ |
35 | "Archive: bad.zip | 36 | "Archive: bad.zip |
36 | inflating: ]3j½r«IK-%Ix | 37 | unzip: short read |
37 | unzip: corrupted data | ||
38 | unzip: inflate error | ||
39 | 1 | 38 | 1 |
40 | " \ | 39 | " \ |
41 | "" "\ | 40 | "" "\ |
@@ -49,6 +48,7 @@ BDYAAAAMAAEADQAAADIADQAAAEEAAAASw73Ct1DKokohPXQiNzA+FAI1HCcW | |||
49 | NzITNFBLBQUKAC4JAA04Cw0EOhZQSwUGAQAABAIAAgCZAAAAeQAAAAIALhM= | 48 | NzITNFBLBQUKAC4JAA04Cw0EOhZQSwUGAQAABAIAAgCZAAAAeQAAAAIALhM= |
50 | ==== | 49 | ==== |
51 | " | 50 | " |
51 | SKIP= | ||
52 | 52 | ||
53 | rm * | 53 | rm * |
54 | 54 | ||