From: Lucas De Marchi Date: Sat, 30 Jan 2021 02:34:30 +0000 (-0800) Subject: testsuite: also test xz compression X-Git-Tag: v29~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd71604da9d9bab91f270deacceecc0d5c0fcffd;p=thirdparty%2Fkmod.git testsuite: also test xz compression Reviewed-by: Petr Vorel --- diff --git a/testsuite/populate-modules.sh b/testsuite/populate-modules.sh index ae438849..099f0266 100755 --- a/testsuite/populate-modules.sh +++ b/testsuite/populate-modules.sh @@ -72,6 +72,9 @@ map=( gzip_array=( "test-depmod/modules-order-compressed/lib/modules/4.4.4/kernel/drivers/block/cciss.ko" + ) + +xz_array=( "test-depmod/modules-order-compressed/lib/modules/4.4.4/kernel/drivers/scsi/scsi_mod.ko" ) @@ -112,6 +115,12 @@ if feature_enabled ZLIB; then done fi +if feature_enabled XZ; then + for m in "${xz_array[@]}"; do + xz "$ROOTFS/$m" + done +fi + if feature_enabled ZSTD; then for m in "${zstd_array[@]}"; do zstd --rm $ROOTFS/$m