Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests Avoid explicitly naming the raw part device with a par...
details: https://anonhg.NetBSD.org/src/rev/80348bf44dcd
branches: trunk
changeset: 372470:80348bf44dcd
user: martin <martin%NetBSD.org@localhost>
date: Wed Nov 30 17:49:59 2022 +0000
description:
Avoid explicitly naming the raw part device with a partition letter - use
the non-partition letter variant instead.
diffstat:
tests/dev/fss/t_fss.sh | 5 ++---
tests/fs/tmpfs/t_vnd.sh | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r 5e72e0f83391 -r 80348bf44dcd tests/dev/fss/t_fss.sh
--- a/tests/dev/fss/t_fss.sh Wed Nov 30 17:49:09 2022 +0000
+++ b/tests/dev/fss/t_fss.sh Wed Nov 30 17:49:59 2022 +0000
@@ -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"
diff -r 5e72e0f83391 -r 80348bf44dcd tests/fs/tmpfs/t_vnd.sh
--- a/tests/fs/tmpfs/t_vnd.sh Wed Nov 30 17:49:09 2022 +0000
+++ b/tests/fs/tmpfs/t_vnd.sh Wed Nov 30 17:49:59 2022 +0000
@@ -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() {
Home |
Main Index |
Thread Index |
Old Index