Module Name: src
Committed By: martin
Date: Wed Nov 30 17:50:00 UTC 2022
Modified Files:
src/tests/dev/fss: t_fss.sh
src/tests/fs/tmpfs: t_vnd.sh
Log Message:
Avoid explicitly naming the raw part device with a partition letter - use
the non-partition letter variant instead.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/dev/fss/t_fss.sh
cvs rdiff -u -r1.11 -r1.12 src/tests/fs/tmpfs/t_vnd.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.4 src/tests/dev/fss/t_fss.sh:1.5
--- src/tests/dev/fss/t_fss.sh:1.4 Thu Jan 14 04:30:40 2021
+++ src/tests/dev/fss/t_fss.sh Wed Nov 30 17:49:59 2022
@@ -1,4 +1,4 @@
-# $NetBSD: t_fss.sh,v 1.4 2021/01/14 04:30:40 simonb Exp $
+# $NetBSD: t_fss.sh,v 1.5 2022/11/30 17:49:59 martin Exp $
#
# Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -29,8 +29,7 @@
#
vnddev=vnd0
-rawpart=$( sysctl -n kern.rawpartition | tr '01234' 'abcde' )
-vnd=/dev/${vnddev}${rawpart}
+vnd=/dev/${vnddev}
orig_data="Original data"
repl_data="Replacement data"
Index: src/tests/fs/tmpfs/t_vnd.sh
diff -u src/tests/fs/tmpfs/t_vnd.sh:1.11 src/tests/fs/tmpfs/t_vnd.sh:1.12
--- src/tests/fs/tmpfs/t_vnd.sh:1.11 Sat Jun 5 06:40:59 2021
+++ src/tests/fs/tmpfs/t_vnd.sh Wed Nov 30 17:50:00 2022
@@ -1,4 +1,4 @@
-# $NetBSD: t_vnd.sh,v 1.11 2021/06/05 06:40:59 gson Exp $
+# $NetBSD: t_vnd.sh,v 1.12 2022/11/30 17:50:00 martin Exp $
#
# Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -29,8 +29,7 @@
#
vnddev=vnd3
-rawpart=$( sysctl -n kern.rawpartition | tr '01234' 'abcde' )
-vnd=/dev/${vnddev}${rawpart}
+vnd=/dev/${vnddev}
atf_test_case basic cleanup
basic_head() {