diff options
author | наб <[email protected]> | 2021-04-12 14:08:33 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-04-15 13:46:05 -0700 |
commit | 86418090d731b7f98d6b9981d29a9c905719dc4d (patch) | |
tree | fc5aebb738438df25eeaf7fe4421e7eb1a09113b /tests/zfs-tests/include | |
parent | aa6a14c0d5c388d38720024561679ae4f7d5e67d (diff) |
ZTS: add zed_fd_spill to verify the fds ZEDLETs inherit
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #11891
Diffstat (limited to 'tests/zfs-tests/include')
-rw-r--r-- | tests/zfs-tests/include/libtest.shlib | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/zfs-tests/include/libtest.shlib b/tests/zfs-tests/include/libtest.shlib index c3b1adc93..08c29c25f 100644 --- a/tests/zfs-tests/include/libtest.shlib +++ b/tests/zfs-tests/include/libtest.shlib @@ -3577,16 +3577,11 @@ function wait_replacing #pool # Wait for a pool to be scrubbed # # $1 pool name -# $2 number of seconds to wait (optional) -# -# Returns true when pool has been scrubbed, or false if there's a timeout or if -# no scrub was done. # function wait_scrubbed { typeset pool=${1:-$TESTPOOL} - while true ; do - is_pool_scrubbed $pool && break + while ! is_pool_scrubbed $pool ; do sleep 1 done } |