aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh
index b24d39fd4..993c6436a 100755
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh
@@ -48,8 +48,7 @@ function cleanup
{
typeset -i j=0
while [[ $j -lt ${#size[*]} ]]; do
- datasetexists $TESTPOOL/${LONGFSNAME}${size[j]} && \
- log_must zfs destroy $TESTPOOL/${LONGFSNAME}${size[j]}
+ destroy_dataset $TESTPOOL/${LONGFSNAME}${size[j]}
((j = j + 1))
done
}