X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fzconfig.sh;h=2b1b2999c445cd199c1a2e4c706cd0604e4b7d9a;hb=777d4af89137907adc91377327505f40c296035d;hp=674ec57fdf66b31bda2a6ac65c0762e304f0b9c2;hpb=d4055aac3c4fdb6c1b5b1a7b73d20ff716e0a711;p=zfs.git diff --git a/scripts/zconfig.sh b/scripts/zconfig.sh index 674ec57..2b1b299 100755 --- a/scripts/zconfig.sh +++ b/scripts/zconfig.sh @@ -16,7 +16,7 @@ PROG=zconfig.sh usage() { cat << EOF USAGE: -$0 [hvc] +$0 [hvcts] DESCRIPTION: ZFS/ZPOOL configuration tests @@ -25,6 +25,8 @@ OPTIONS: -h Show this message -v Verbose -c Cleanup lo+file devices at start + -t <#> Run listed tests + -s <#> Skip listed tests EOF } @@ -60,6 +62,7 @@ fi # Perform pre-cleanup is requested if [ ${CLEANUP} ]; then + ${ZFS_SH} -u cleanup_md_devices cleanup_loop_devices rm -f /tmp/zpool.cache.*