X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=scripts%2Fzfault.sh;h=da4f16f4f077a75a9506db04c1f1f08ed8d1012f;hb=4e1b54fdde35e952ea7084a4640e08c6e42f8a94;hp=7f774042446832493b46a3ed4bed060f14405304;hpb=7dc3830c0f591ae8dfe349cf67c0c61cc8602dc8;p=zfs diff --git a/scripts/zfault.sh b/scripts/zfault.sh index 7f7740424..da4f16f4f 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