support/testing: add zip test
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 23ef540288
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
f3248d0b5c
commit
188d0e5f6f
@ -534,6 +534,7 @@ F: package/python-pysensors/
|
|||||||
F: package/qoriq-fm-ucode/
|
F: package/qoriq-fm-ucode/
|
||||||
F: package/unifdef/
|
F: package/unifdef/
|
||||||
F: package/vmtouch/
|
F: package/vmtouch/
|
||||||
|
F: support/testing/tests/package/test_zip.py
|
||||||
|
|
||||||
N: Brock Williams <brock@cottonwoodcomputer.com>
|
N: Brock Williams <brock@cottonwoodcomputer.com>
|
||||||
F: package/pdmenu/
|
F: package/pdmenu/
|
||||||
|
15
support/testing/tests/package/test_zip.py
Normal file
15
support/testing/tests/package/test_zip.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
from tests.package.test_compressor_base import TestCompressorBase
|
||||||
|
|
||||||
|
|
||||||
|
class TestZip(TestCompressorBase):
|
||||||
|
__test__ = True
|
||||||
|
config = TestCompressorBase.config + \
|
||||||
|
"""
|
||||||
|
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||||
|
BR2_PACKAGE_ZIP=y
|
||||||
|
BR2_PACKAGE_UNZIP=y
|
||||||
|
"""
|
||||||
|
compress_cmd = "/bin/sh -c 'zip $1.zip $1' /bin/sh"
|
||||||
|
decompress_cmd = "unzip"
|
||||||
|
check_integrity_cmd = "unzip -t"
|
||||||
|
compressed_file_ext = ".zip"
|
Loading…
Reference in New Issue
Block a user