From 65cdb9c525fa1eb460f382998afcc7414c8a532d Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Thu, 2 Jan 2025 12:03:30 +0200 Subject: [PATCH] ZTS: functional/mount scripts are not removing /var/tmp/testdir.X dirs cleanup.ksh is assuming we have TESTDIRS set. Signed-off-by: Toomas Soome --- 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 bd6b0e435ed1..0e88e2a1fc79 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