aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh
index 4ba853162..526897193 100755
--- a/tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh
+++ b/tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh
@@ -75,7 +75,7 @@ function cleanup_all
i=0
while (( i < ${#args[*]} )); do
snapexists ${args[i]} && \
- log_must zfs destroy -Rf ${args[i]}
+ destroy_dataset "${args[i]}" "-Rf"
[[ -d ${args[i+3]} ]] && \
log_must rm -rf ${args[i+3]}