diff options
Diffstat (limited to 'tests/zfs-tests/include')
-rw-r--r-- | tests/zfs-tests/include/libtest.shlib | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zfs-tests/include/libtest.shlib b/tests/zfs-tests/include/libtest.shlib index 28ee345c8..51088fccb 100644 --- a/tests/zfs-tests/include/libtest.shlib +++ b/tests/zfs-tests/include/libtest.shlib @@ -3190,6 +3190,7 @@ function wait_scrubbed { typeset pool=${1:-$TESTPOOL} typeset iter=${2:-10} + typeset -i i=0 for i in {1..$iter} ; do if is_pool_scrubbed $pool ; then return 0 |