HomeFreeBSD

Sanatize zpios-sanity.sh environment

Description

Sanatize zpios-sanity.sh environment

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.

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 3 2011, 10:08 PM
Parents
rG608860b6d06a: Delay before destroying loopback devices
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGcbc6fab65c20: Sanatize zpios-sanity.sh environment (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jun 3 2011, 10:08 PM