Bug 14576

Summary: unzip: test skipped with bad archive
Product: Busybox Reporter: dharan <dharanendiran>
Component: Standard ComplianceAssignee: unassigned
Status: NEW ---    
Severity: major CC: busybox-cvs
Priority: P5    
Version: 1.33.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description dharan 2022-02-08 18:41:34 UTC
When I run the testsuite, the unzip (bad archive) was skipped. So the expected results is always skipped here or it require further components to get succeed.

# ./runtest -v unzip
======================
echo -ne '' >input
echo -ne '' | unzip -q foo.zip foo/ && test -d foo && test ! -f foo/bar && echo yes
PASS: unzip (subdir only)
SKIPPED: unzip (bad archive)
======================
echo -ne '' >input
echo -ne '' | unzip -p ../unzip_bad_lzma_1.zip 2>&1; echo $?
PASS: unzip (archive with corrupted lzma 1)
======================
echo -ne '' >input
echo -ne '' | unzip -p ../unzip_bad_lzma_2.zip 2>&1; echo $?
PASS: unzip (archive with corrupted lzma 2)
# 

The following config options are enabled in busybox:
FEATURE_UNZIP_CDF CONFIG_UNICODE_SUPPORT UUDECODE
Comment 1 dharan 2022-02-20 04:57:25 UTC
Hi Team,

      Can you please share an update on the requested SKIPPED test case? 

SKIPPED: unzip (bad archive)

Regards,
-Dharan