From 9b0c3b2aa87610690cf6e1a792ff1484274a392d Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 21 Mar 2011 16:32:29 -0700 Subject: [PATCH] Load zlib_inflate.ko Certain stock kernels (Debian Lenny) are built with zlib_inflate.ko as a kernel module. To ensure 'make check' works in-tree load this module before loading the spl module. This is now required for the zlib splat regression test. --- scripts/check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/check.sh b/scripts/check.sh index 4e4940685..8c0e0c5cb 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -62,6 +62,7 @@ if [ ! -f ${spl_module} ] || [ ! -f ${splat_module} ]; then die "Source tree must be built, run 'make'" fi +/sbin/modprobe zlib_inflate &>/dev/null /sbin/modprobe zlib_deflate &>/dev/null spl_module_params="spl_debug_mask=0xffffffff spl_debug_subsys=0xffffffff" -- 2.40.0