diff options
author | Brian Behlendorf <[email protected]> | 2011-03-21 16:32:29 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-03-22 12:18:44 -0700 |
commit | 9b0c3b2aa87610690cf6e1a792ff1484274a392d (patch) | |
tree | 7902a8d7fe0d356d6964d6fbffd9e2c63eed65b3 /scripts | |
parent | 2092cf68d89a51eb0d6193aeadabb579dfc4b4a0 (diff) |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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" |