]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/checksum/cleanup.ksh
ZTS: Adopt OpenZFS test analysis script
[mirror_zfs.git] / tests / zfs-tests / tests / functional / checksum / cleanup.ksh
index 971ef2785b1f0a0104ff7e2f3517331f262045d2..19b0f35cf7687cedf4e0d69c2701d0aad7f19668 100755 (executable)
 
 verify_runnable "global"
 
-df -F zfs -h | grep "$TESTFS " >/dev/null
-[[ $? == 0 ]] && log_must zfs umount -f $TESTDIR
-destroy_pool $TESTPOOL
-
-# recreate and destroy a zpool over the disks to restore the partitions to
-# normal
-if [[ -n $SINGLE_DISK ]]; then
-       log_must cleanup_devices $MIRROR_PRIMARY
-else
-       log_must cleanup_devices $MIRROR_PRIMARY $MIRROR_SECONDARY
-fi
-
-log_pass
+default_cleanup