From e411081aa0a653fce37d392a08f0443456ae2c6e Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Fri, 3 Jan 2025 01:53:53 +0200 Subject: [PATCH] ZTS: functional/mount scripts are not removing /var/tmp/testdir.X dirs cleanup.ksh is assuming we have TESTDIRS set. Reviewed-by: Brian Behlendorf Reviewed-by: Alexander Motin Signed-off-by: Toomas Soome Closes #16915 --- tests/zfs-tests/tests/functional/mount/cleanup.ksh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/zfs-tests/tests/functional/mount/cleanup.ksh b/tests/zfs-tests/tests/functional/mount/cleanup.ksh index bd6b0e435..0e88e2a1f 100755 --- a/tests/zfs-tests/tests/functional/mount/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/mount/cleanup.ksh @@ -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