usage() {
cat << EOF
USAGE:
-$0 [hvc]
+$0 [hvcts]
DESCRIPTION:
ZFS/ZPOOL configuration tests
-h Show this message
-v Verbose
-c Cleanup lo+file devices at start
+ -t <#> Run listed tests
+ -s <#> Skip listed tests
EOF
}
# Perform pre-cleanup is requested
if [ ${CLEANUP} ]; then
+ ${ZFS_SH} -u
cleanup_md_devices
cleanup_loop_devices
rm -f /tmp/zpool.cache.*