Skip to content

Commit

Permalink
ZTS: Use default_cleanup_noexit where needed
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ryan Moeller authored Mar 17, 2020
1 parent e0d3284 commit 80d98a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

verify_runnable "global"

default_cleanup
default_cleanup_noexit
disk_cleanup

log_pass
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@

. $STF_SUITE/include/libtest.shlib

default_cleanup
default_cleanup_noexit
destroy_pool testpool2

log_pass
4 changes: 3 additions & 1 deletion tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@

. $STF_SUITE/include/libtest.shlib

default_cleanup
default_cleanup_noexit
rm -f $TEST_BASE_DIR/disk0

log_pass

0 comments on commit 80d98a8

Please sign in to comment.