From dba88705f7a1b0c92374782ad661fb3765b50a37 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Fri, 26 Feb 2021 10:10:17 -0800 Subject: [PATCH] Fix t_umount mount point number t_umount had a typo that had it try to unmount a mount based on a caller's variable, which accidentally happened to work for its only caller. Future callers would not have been so lucky. Signed-off-by: Zach Brown --- tests/funcs/fs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/funcs/fs.sh b/tests/funcs/fs.sh index b4b17cf3..03fb9888 100644 --- a/tests/funcs/fs.sh +++ b/tests/funcs/fs.sh @@ -129,7 +129,7 @@ t_umount() test "$nr" -lt "$T_NR_MOUNTS" || \ t_fail "fs nr $nr invalid" - eval t_quiet umount \$T_M$i + eval t_quiet umount \$T_M$nr } #