support/testing/tests/package/test_gzip.py: new runtime test

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Julien Olivain 2023-07-06 21:01:00 +02:00 committed by Thomas Petazzoni
parent cf132a137b
commit a1e2d0496b
2 changed files with 14 additions and 0 deletions

View File

@ -1733,6 +1733,7 @@ F: support/testing/tests/package/test_ddrescue.py
F: support/testing/tests/package/test_ddrescue/
F: support/testing/tests/package/test_dos2unix.py
F: support/testing/tests/package/test_gnupg2.py
F: support/testing/tests/package/test_gzip.py
F: support/testing/tests/package/test_highway.py
F: support/testing/tests/package/test_hwloc.py
F: support/testing/tests/package/test_iperf3.py

View File

@ -0,0 +1,13 @@
from tests.package.test_compressor_base import TestCompressorBase
class TestGzip(TestCompressorBase):
__test__ = True
config = TestCompressorBase.config + \
"""
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_GZIP=y
"""
compress_cmd = "gzip"
decompress_cmd = "gunzip"
compressed_file_ext = ".gz"