X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;ds=sidebyside;f=tests%2Fzfs-tests%2Ftests%2Ffunctional%2Fremoval%2Fremoval_with_scrub.ksh;h=d96c1ce9de1573bef7be0f8192cfa63ed435c393;hb=d2734cce68cf740e015312314415f9034c67851c;hp=33eb41bf2acd8634e628a6b30cc1652f88f5d78f;hpb=88eaf610d9c7056f0946e5090cba1e6288ff2b70;p=zfs diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh index 33eb41bf2..d96c1ce9d 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh @@ -15,7 +15,7 @@ # # -# Copyright (c) 2014, 2016 by Delphix. All rights reserved. +# Copyright (c) 2014, 2017 by Delphix. All rights reserved. # . $STF_SUITE/include/libtest.shlib @@ -24,15 +24,6 @@ default_setup_noexit "$DISKS" log_onexit default_cleanup_noexit -function callback -{ - typeset count=$1 - if ((count == 0)); then - log_must zpool scrub $TESTPOOL - fi - return 0 -} - -test_removal_with_operation callback +test_removal_with_operation zpool scrub $TESTPOOL log_pass "Can use scrub during removal"