Bug 14576 - unzip: test skipped with bad archive
Summary: unzip: test skipped with bad archive
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.33.x
Hardware: All Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 18:41 UTC by dharan
Modified: 2022-02-20 04:57 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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