summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2021-01-29 18:34:30 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2021-02-05 19:54:31 -0800
commitfd71604da9d9bab91f270deacceecc0d5c0fcffd (patch)
treed9b093a3872ede7e61b652ffb709e0dd3bed5a7e /testsuite
parent1921c370c25cb4735105397c285ffa38a04b286b (diff)
downloadkmod-fd71604da9d9bab91f270deacceecc0d5c0fcffd.tar.gz
kmod-fd71604da9d9bab91f270deacceecc0d5c0fcffd.tar.bz2
kmod-fd71604da9d9bab91f270deacceecc0d5c0fcffd.zip
testsuite: also test xz compression
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/populate-modules.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/populate-modules.sh b/testsuite/populate-modules.sh
index ae43884..099f026 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