aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/zpios-sanity.sh
Commit message (Collapse)AuthorAgeFilesLines
* Disable 90-zfs.rules for test suitezfs-0.6.0-rc6Brian Behlendorf2011-10-111-0/+3
| | | | | | | | | | | | 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]>
* Sanatize zpios-sanity.sh environmentBrian Behlendorf2011-06-031-0/+7
| | | | | | | | | | Just like zconfig.sh the zpios-sanity.sh tests should run in a sanatized environment. This ensures they never conflict with an installed /etc/zfs/zpool.cache file. This commit additionally improves the -c cleanup option. It now removes the modules stack if loaded and destroys relevant md devices. This behavior is now identical to zconfig.sh.
* Fix zpios-sanity.sh return codeBrian Behlendorf2011-06-021-1/+4
| | | | | | The zpios-sanity.sh script should return failure when any of the individual zpios.sh tests fail. The previous code would always return success suppressing real failures.
* Add linux zpios supportBrian Behlendorf2010-08-311-0/+158
Linux kernel implementation of PIOS test app. Signed-off-by: Brian Behlendorf <[email protected]>