mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
- Implemented vnode interfaces and 6 test cases to the test suite.
- Re-implmented kobj support based on the vnode support. - Add TESTS option to check.sh, and removed delay after module load. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@39 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
+8
-2
@@ -19,6 +19,12 @@ if [ -n "$V" ]; then
|
||||
verbose="-v"
|
||||
fi
|
||||
|
||||
if [ -n "$TESTS" ]; then
|
||||
tests="$TESTS"
|
||||
else
|
||||
tests="-a"
|
||||
fi
|
||||
|
||||
if [ $(id -u) != 0 ]; then
|
||||
die "Must run as root"
|
||||
fi
|
||||
@@ -37,8 +43,8 @@ echo "Loading ${spl_module}"
|
||||
echo "Loading ${splat_module}"
|
||||
/sbin/insmod ${splat_module} || die "Unable to load ${splat_module}"
|
||||
|
||||
sleep 3
|
||||
$splat_cmd -a $verbose
|
||||
while [ ! -c /dev/splatctl ]; do sleep 0.1; done
|
||||
$splat_cmd $tests $verbose
|
||||
|
||||
echo "Unloading ${splat_module}"
|
||||
/sbin/rmmod ${splat_module} || die "Failed to unload ${splat_module}"
|
||||
|
||||
Reference in New Issue
Block a user