X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fzfault.sh;h=da4f16f4f077a75a9506db04c1f1f08ed8d1012f;hb=7268e1bec8478639b7a1047e02ab931f30bc2f92;hp=7f774042446832493b46a3ed4bed060f14405304;hpb=7dc3830c0f591ae8dfe349cf67c0c61cc8602dc8;p=zfs.git diff --git a/scripts/zfault.sh b/scripts/zfault.sh index 7f77404..da4f16f 100755 --- a/scripts/zfault.sh +++ b/scripts/zfault.sh @@ -42,7 +42,7 @@ PROG=zfault.sh usage() { cat << EOF USAGE: -$0 [hvc] +$0 [hvcts] DESCRIPTION: ZPOOL fault verification tests @@ -916,7 +916,7 @@ test_write_timeout_hard() { # resilvered without error and we should see minimally the zfs.io, # zfs.statechange (VDEV_STATE_HEALTHY (0x7)), and zfs.resilver.* # events posted. - ${ZPOOL} online ${POOL_NAME} ${VDEV_FAULTY}1 || fail 51 + ${ZPOOL} online ${POOL_NAME} ${VDEV_FAULTY} || fail 51 sleep 3 test `zpool_event "zfs.io" "zio_err"` = "0x5" || fail 52 test `zpool_event "zfs.statechange" "vdev_state"` = "0x7" || fail 53