diff options
Diffstat (limited to 'tests/zfs-tests')
-rw-r--r-- | tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib index 0f4e7f0fa..8b0727483 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib @@ -21,7 +21,7 @@ function initialize_prog_line # pool disk { typeset pool="$1" typeset disk="$2" - zpool status "$pool" | grep "$disk" | grep "initialized" + zpool status -i "$pool" | grep "$disk" | grep "[[:digit:]]* initialized" } function initialize_progress # pool disk |