summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard Elling <[email protected]>2019-03-26 14:18:58 -0700
committerBrian Behlendorf <[email protected]>2019-03-26 14:18:58 -0700
commit85a150ce1e6d609cec814f9af28ce4f2aef312ab (patch)
tree697e6d954835c04c1e184308ff9b8ea19c2ad2b3 /tests
parentdb6be852da8762059c40dd2ae6bfb9c19a25e0af (diff)
Update valid vdev types for get_disklist
Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed by: John Kennedy <[email protected]> Signed-off-by: Richard Elling <[email protected]> Closes #8532
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/include/libtest.shlib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/include/libtest.shlib b/tests/zfs-tests/include/libtest.shlib
index 482ab5ef5..045c12207 100644
--- a/tests/zfs-tests/include/libtest.shlib
+++ b/tests/zfs-tests/include/libtest.shlib
@@ -1957,7 +1957,7 @@ function get_disklist # pool
disklist=$(zpool iostat -v $1 | nawk '(NR >4) {print $1}' | \
grep -v "\-\-\-\-\-" | \
- egrep -v -e "^(mirror|raidz1|raidz2|spare|log|cache)$")
+ egrep -v -e "^(mirror|raidz[1-3]|spare|log|cache|special|dedup)$")
echo $disklist
}