- Use geom <class> load instead of g<class> load; g<class> doesn't exist
for all geom classes, e.g. geom_uzip(4) - These tests require root. Skip all of the tests if they're run as non-root MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
9b181806d2
commit
e1ad05666f
@ -1,7 +1,12 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
|
||||
kldstat -q -m g_${class} || g${class} load || exit 1
|
||||
if [ $(id -u) -ne 0 ]; then
|
||||
echo 'Tests must be run as root'
|
||||
echo 'Bail out!'
|
||||
exit 1
|
||||
fi
|
||||
kldstat -q -m g_${class} || geom ${class} load || exit 1
|
||||
|
||||
devwait()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user