aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-03-17 12:55:18 -0400
committerGitHub <[email protected]>2020-03-17 09:55:18 -0700
commit80d98a8f3addfbfa1feefef70774193ed18c1013 (patch)
tree35982f389007fd8da38eab5b9be41d01ab7dbbd6 /tests
parente0d3284bc95d3d6b6660e8881454caf367ce460b (diff)
ZTS: Use default_cleanup_noexit where needed
And add log_pass appropriately. Reviewed-by: John Kennedy <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #10136
Diffstat (limited to 'tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/cleanup.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh4
-rwxr-xr-xtests/zfs-tests/tests/functional/write_dirs/cleanup.ksh4
3 files changed, 7 insertions, 3 deletions
diff --git a/tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh b/tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh
index c12d5973b..13775da91 100755
--- a/tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh
+++ b/tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh
@@ -21,7 +21,7 @@
verify_runnable "global"
-default_cleanup
+default_cleanup_noexit
disk_cleanup
log_pass
diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh
index 59f69ca8b..3ddcb4d27 100755
--- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh
+++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh
@@ -16,5 +16,7 @@
. $STF_SUITE/include/libtest.shlib
-default_cleanup
+default_cleanup_noexit
destroy_pool testpool2
+
+log_pass
diff --git a/tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh b/tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh
index e8bc8d514..aa032084c 100755
--- a/tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh
+++ b/tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh
@@ -31,5 +31,7 @@
. $STF_SUITE/include/libtest.shlib
-default_cleanup
+default_cleanup_noexit
rm -f $TEST_BASE_DIR/disk0
+
+log_pass