ZTS: functional/mount scripts are not removing /var/tmp/testdir.X dirs

cleanup.ksh is assuming we have TESTDIRS set.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Toomas Soome <tsoome@me.com>
Closes #16915
This commit is contained in:
Toomas Soome 2025-01-03 01:53:53 +02:00 committed by Brian Behlendorf
parent a55b6fe94a
commit e411081aa0

View File

@ -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