1from tests.package.test_compressor_base import TestCompressorBase
2
3
4class TestZip(TestCompressorBase):
5    __test__ = True
6    config = TestCompressorBase.config + \
7        """
8        BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
9        BR2_PACKAGE_ZIP=y
10        BR2_PACKAGE_UNZIP=y
11        """
12    compress_cmd = "/bin/sh -c 'zip $1.zip $1' /bin/sh"
13    decompress_cmd = "unzip"
14    check_integrity_cmd = "unzip -t"
15    compressed_file_ext = ".zip"
16