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.
This commit is contained in:
Brian Behlendorf 2011-03-21 16:32:29 -07:00
parent 2092cf68d8
commit 9b0c3b2aa8

View File

@ -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"