summaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/zfs-tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/reservation/reservation_001_pos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.sh b/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.sh
index d142fe0cc..b72b8e4a3 100755
--- a/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.sh
+++ b/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.sh
@@ -54,7 +54,7 @@ verify_runnable "both"
function cleanup
{
for obj in $OBJ_LIST; do
- datasetexists $obj && log_must zfs destroy -f $obj
+ destroy_dataset $obj
done
}