diff options
author | Tony Hutter <[email protected]> | 2016-12-16 16:10:45 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-12-16 16:10:45 -0800 |
commit | 1528bfdb148b44eaa0522109fee1ab61f4f3214b (patch) | |
tree | 74da77e5a11483e4acdec247821ec54eb90974e2 /tests/runfiles/linux.run | |
parent | 81eb8a1fbb5dae86bebdc6c518071ae3ab062e3f (diff) |
Don't run 'zpool iostat -c CMD' command on all vdevs, if vdevs specified
zpool iostat allows you to specify only certain vdevs to display.
Currently, if you run 'zpool iostat -c CMD vdev1 vdev2 ...'
on specific vdevs, it will actually run the command on *all* vdevs,
and just display the results for the vdevs you specify. This patch
corrects the behavior to only run the command on the specified vdevs,
and also enables the zpool_iostat_005_pos.ksh tests.
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tony Hutter <[email protected]>
Closes #5443
Diffstat (limited to 'tests/runfiles/linux.run')
-rw-r--r-- | tests/runfiles/linux.run | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 4dd444035..5d146c6bd 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -362,7 +362,8 @@ user = [tests/functional/cli_user/zpool_iostat] tests = ['zpool_iostat_001_neg', 'zpool_iostat_002_pos', - 'zpool_iostat_003_neg', 'zpool_iostat_004_pos'] + 'zpool_iostat_003_neg', 'zpool_iostat_004_pos', + 'zpool_iostat_005_pos'] user = [tests/functional/cli_user/zpool_list] |