- 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:
behlendo
2008-03-12 20:52:46 +00:00
parent 9490c14835
commit 4b17158506
13 changed files with 830 additions and 264 deletions
+8 -2
View File
@@ -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}"