]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/removal/removal_with_create_fs.ksh
OpenZFS 9166 - zfs storage pool checkpoint
[mirror_zfs.git] / tests / zfs-tests / tests / functional / removal / removal_with_create_fs.ksh
index 403428290e83bc385b6975d2525b9b63922029c8..0872fd9faf4083d3685320e80dd8c016054ab2f1 100755 (executable)
@@ -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
@@ -26,11 +26,8 @@ log_onexit default_cleanup_noexit
 
 function callback
 {
-       typeset count=$1
-       if ((count == 0)); then
-               log_must zfs create $TESTPOOL/$TESTFS1
-               log_must zfs destroy $TESTPOOL/$TESTFS1
-       fi
+       log_must zfs create $TESTPOOL/$TESTFS1
+       log_must zfs destroy $TESTPOOL/$TESTFS1
        return 0
 }