Disable 90-zfs.rules for test suite
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 11 Oct 2011 21:36:42 +0000 (14:36 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 11 Oct 2011 21:45:37 +0000 (14:45 -0700)
commit5cbf6db937a304c4d2b60878a2405a1e2900abdf
tree4c5ae26bd32e8a7246c86115327aa1eb88d576cf
parent86f35f34f419f6eaff53b25f463c13f72186b103
Disable 90-zfs.rules for test suite

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 <behlendorf1@llnl.gov>
scripts/common.sh.in
scripts/zconfig.sh
scripts/zfault.sh
scripts/zpios-sanity.sh