diff options
author | Brian Behlendorf <[email protected]> | 2011-10-11 14:36:42 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-10-11 14:45:37 -0700 |
commit | 5cbf6db937a304c4d2b60878a2405a1e2900abdf (patch) | |
tree | 4c5ae26bd32e8a7246c86115327aa1eb88d576cf /scripts/zpios-sanity.sh | |
parent | 86f35f34f419f6eaff53b25f463c13f72186b103 (diff) |
Disable 90-zfs.rules for test suitezfs-0.6.0-rc6
When running the zconfig.sh, zpios-sanity.sh, and zfault.sh
from the installed packages the 90-zfs.rules can cause failures.
These will occur because the test suite assumes it has full
control over loading/unloading the module stack. If the stack
gets asynchronously loaded by the udev rule the test suite
will treat it as a failure. Resolve the issue by disabling
the offending rule during the tests and enabling it on exit.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'scripts/zpios-sanity.sh')
-rwxr-xr-x | scripts/zpios-sanity.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/zpios-sanity.sh b/scripts/zpios-sanity.sh index fcd91b6e6..0f441157d 100755 --- a/scripts/zpios-sanity.sh +++ b/scripts/zpios-sanity.sh @@ -62,6 +62,9 @@ if [ $(id -u) != 0 ]; then die "Must run as root" fi +# Initialize the test suite +init + # Perform pre-cleanup is requested if [ ${CLEANUP} ]; then ${ZFS_SH} -u |