diff options
author | наб <[email protected]> | 2021-04-12 14:08:33 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-04-19 15:12:45 -0700 |
commit | 15d3470c2e4d66b926cab047b403948cb95d91fa (patch) | |
tree | 1e96dbe8fd0ba6c39a2c08873c5b9c5620c5ec8f /tests/zfs-tests/include | |
parent | 55cf5a255a4b65bc898e5287fa9d939768997dff (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 } |