Author benjamin.peterson
Recipients benjamin.peterson
Date 2018-09-13.16:52:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536857538.58.0.956365154283.issue34661@psf.upfronthosting.co.za>
In-reply-to
Content
BusyBox has a unzip command, but it doesn't support -t.

======================================================================
FAIL: test_unzip_zipfile (test.test_shutil.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-alpine/build/Lib/test/test_shutil.py", line 1181, in test_unzip_zipfile
    subprocess.check_output(zip_cmd, stderr=subprocess.STDOUT)
subprocess.CalledProcessError: Command '['unzip', '-t', '/tmp/tmp92zs6lmt/archive.zip']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-alpine/build/Lib/test/test_shutil.py", line 1185, in test_unzip_zipfile
    self.fail(msg.format(exc, details))
AssertionError: Command '['unzip', '-t', '/tmp/tmp92zs6lmt/archive.zip']' returned non-zero exit status 1.
**Unzip Output**
unzip: unrecognized option: t
BusyBox v1.27.2 (2017-12-12 10:41:50 GMT) multi-call binary.
Usage: unzip [-lnopq] FILE[.zip] [FILE]... [-x FILE...] [-d DIR]
Extract FILEs from ZIP archive
	-l	List contents (with -q for short form)
	-n	Never overwrite files (default: ask)
	-o	Overwrite
	-p	Print to stdout
	-q	Quiet
	-x FILE	Exclude FILEs
	-d DIR	Extract into DIR
History
Date User Action Args
2018-09-13 16:52:18benjamin.petersonsetrecipients: + benjamin.peterson
2018-09-13 16:52:18benjamin.petersonsetmessageid: <1536857538.58.0.956365154283.issue34661@psf.upfronthosting.co.za>
2018-09-13 16:52:18benjamin.petersonlinkissue34661 messages
2018-09-13 16:52:18benjamin.petersoncreate