Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/fs/tmpfs Use the correct pathname when cleaning up the...
details: https://anonhg.NetBSD.org/src/rev/c89658543360
branches: trunk
changeset: 379542:c89658543360
user: gson <gson%NetBSD.org@localhost>
date: Sat Jun 05 06:40:59 2021 +0000
description:
Use the correct pathname when cleaning up the inner mount on test
failure. Fixes the ATF crash reported in PR bin/56221, but not
the issue causing the test to fail in the first place.
diffstat:
tests/fs/tmpfs/t_vnd.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r bd96e470cd5f -r c89658543360 tests/fs/tmpfs/t_vnd.sh
--- a/tests/fs/tmpfs/t_vnd.sh Sat Jun 05 06:23:48 2021 +0000
+++ b/tests/fs/tmpfs/t_vnd.sh Sat Jun 05 06:40:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_vnd.sh,v 1.10 2017/03/23 08:18:17 martin Exp $
+# $NetBSD: t_vnd.sh,v 1.11 2021/06/05 06:40:59 gson Exp $
#
# Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -69,7 +69,7 @@ basic_body() {
}
basic_cleanup() {
if [ ! -f done ]; then
- umount mnt 2>/dev/null 1>&2
+ umount mntpt/mnt 2>/dev/null 1>&2
vndconfig -u ${vnddev} 2>/dev/null 1>&2
fi
}
Home |
Main Index |
Thread Index |
Old Index