Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/dev/fss Unmount and unconfigure in the reverse order t...



details:   https://anonhg.NetBSD.org/src/rev/e5fde8520343
branches:  trunk
changeset: 949422:e5fde8520343
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Jan 14 04:30:40 2021 +0000

description:
Unmount and unconfigure in the reverse order that they were done.  Fixes
problem with leaving a dangling snapshot configured.

diffstat:

 tests/dev/fss/t_fss.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 5eaf25ffe8bf -r e5fde8520343 tests/dev/fss/t_fss.sh
--- a/tests/dev/fss/t_fss.sh    Thu Jan 14 02:51:52 2021 +0000
+++ b/tests/dev/fss/t_fss.sh    Thu Jan 14 04:30:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_fss.sh,v 1.3 2017/03/15 10:53:15 martin Exp $
+# $NetBSD: t_fss.sh,v 1.4 2021/01/14 04:30:40 simonb Exp $
 #
 # Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -74,9 +74,9 @@
 
 basic_cleanup() {
 # Unmount our temporary stuff
-       umount ${vnd}           || true
+       umount /dev/fss0        || true
        fssconfig -u fss0       || true
-       umount /dev/fss0        || true
+       umount ${vnd}           || true
        vndconfig -u ${vnddev}  || true
 }
 



Home | Main Index | Thread Index | Old Index