diff options
Diffstat (limited to 'tests/zfs-tests')
-rwxr-xr-x | tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh | 3 | ||||
-rwxr-xr-x | tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh index ae1e5a152..097be9e74 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh @@ -52,7 +52,8 @@ fi set -A args "" "-?" "-f" "nonexistpool" "$TESTPOOL/$TESTFS" \ "$testpool 0" "$testpool -1" "$testpool 1 0" \ - "$testpool 0 0" "$testpool -wl" "$testpool -wq" + "$testpool 0 0" "$testpool -wl" "$testpool -wq" "$testpool -wr" \ + "$testpool -rq" "$testpool -lr" log_assert "Executing 'zpool iostat' with bad options fails" diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh index f8bd8e3db..0119a7061 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh @@ -36,7 +36,7 @@ # # DESCRIPTION: # Executing 'zpool iostat' command with various combinations of extended -# stats (-vqL), parsable/script options (-pH), and misc lists of pools +# stats (-lqwr), parsable/script options (-pH), and misc lists of pools # and vdevs. # # STRATEGY: @@ -59,7 +59,9 @@ set -A args "" "-v" "-q" "-l" "-lq $TESTPOOL" "-ql ${DISKS[0]} ${DISKS[1]}" \ "-wp $TESTPOOL" \ "-qlH $TESTPOOL ${DISKS[0]}" \ "-vpH ${DISKS[0]}" \ - "-wpH ${DISKS[0]}" + "-wpH ${DISKS[0]}" \ + "-r ${DISKS[0]}" \ + "-rpH ${DISKS[0]}" log_assert "Executing 'zpool iostat' with extended stat options succeeds" log_note "testpool: $TESTPOOL, disks $DISKS" |