From: Brian Behlendorf Date: Mon, 21 Mar 2011 23:32:29 +0000 (-0700) Subject: Load zlib_inflate.ko X-Git-Tag: zfs-0.8.0-rc1~152^2~483 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b0c3b2aa87610690cf6e1a792ff1484274a392d;p=zfs 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. --- 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"