Skip to content

Commit

Permalink
ZTS: functional/mount scripts are not removing /var/tmp/testdir.X dirs
Browse files Browse the repository at this point in the history
cleanup.ksh is assuming we have TESTDIRS set.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Toomas Soome <[email protected]>
Closes #16915
  • Loading branch information
tsoome authored Jan 2, 2025
1 parent 8dc15ef commit d6b4110
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/zfs-tests/tests/functional/mount/cleanup.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@

#
# Copyright (c) 2013, 2016 by Delphix. All rights reserved.
# Copyright 2025 MNX Cloud, Inc.
#

. $STF_SUITE/include/libtest.shlib

log_must destroy_pool $TESTPOOL

for dir in $TESTDIRS; do
for i in 1 2 3; do
dir=$TESTDIR.$i
rm -rf $dir
done

0 comments on commit d6b4110

Please sign in to comment.