Module Name: src
Committed By: simonb
Date: Thu Jan 14 04:30:40 UTC 2021
Modified Files:
src/tests/dev/fss: t_fss.sh
Log Message:
Unmount and unconfigure in the reverse order that they were done. Fixes
problem with leaving a dangling snapshot configured.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/dev/fss/t_fss.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/dev/fss/t_fss.sh
diff -u src/tests/dev/fss/t_fss.sh:1.3 src/tests/dev/fss/t_fss.sh:1.4
--- src/tests/dev/fss/t_fss.sh:1.3 Wed Mar 15 10:53:15 2017
+++ src/tests/dev/fss/t_fss.sh Thu Jan 14 04:30:40 2021
@@ -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_body() {
basic_cleanup() {
# Unmount our temporary stuff
- umount ${vnd} || true
- fssconfig -u fss0 || true
umount /dev/fss0 || true
+ fssconfig -u fss0 || true
+ umount ${vnd} || true
vndconfig -u ${vnddev} || true
}