test_pixz.py 579 B

123456789101112131415161718
  1. from tests.package.test_compressor_base import TestCompressorBase
  2. class TestPixz(TestCompressorBase):
  3. __test__ = True
  4. config = TestCompressorBase.config + \
  5. """
  6. BR2_PACKAGE_PIXZ=y
  7. """
  8. compress_cmd = "pixz -p3"
  9. decompress_cmd = "pixz -d"
  10. compressed_file_ext = ".xz"
  11. def check_integrity_test(self):
  12. # Do nothing for the integrity test because "pixz" does not
  13. # implement this feature. The "-t" option has other functions:
  14. # https://github.com/vasi/pixz/blob/v1.0.7/src/pixz.1.asciidoc#options
  15. pass