From 8dc15ef4b3fddfcf7d4d8d5e99bbf037dfb6037f Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Thu, 2 Jan 2025 23:29:12 +0200 Subject: [PATCH] ZTS: zfs_mount_all_fail leaves /var/tmp/testrootPIDNUM directory around Before we can remove test files, we need to unmount datasets used by test first. See also: zfs_mount_all_mountpoints.ksh Reviewed-by: Brian Behlendorf Reviewed-by: Alexander Motin Signed-off-by: Toomas Soome Closes #16914 --- .../cli_root/zfs_mount/zfs_mount_all_fail.ksh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh index d1103bddccbd..7b6c2ccdf660 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh @@ -16,6 +16,7 @@ # # Copyright (c) 2017 by Delphix. All rights reserved. +# Copyright 2024 MNX Cloud, Inc. # . $STF_SUITE/include/libtest.shlib @@ -44,8 +45,9 @@ typeset fscount=10 function setup_all { # Create $fscount filesystems at the top level of $path - for ((i=0; i<$fscount; i++)); do + for ((i=0; i