Module Name:    src
Committed By:   christos
Date:           Thu Apr  4 16:57:45 UTC 2024

Modified Files:
        src/tests/fs/tmpfs: t_vnd.sh

Log Message:
make this work again


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 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/fs/tmpfs/t_vnd.sh
diff -u src/tests/fs/tmpfs/t_vnd.sh:1.12 src/tests/fs/tmpfs/t_vnd.sh:1.13
--- src/tests/fs/tmpfs/t_vnd.sh:1.12	Wed Nov 30 12:50:00 2022
+++ src/tests/fs/tmpfs/t_vnd.sh	Thu Apr  4 12:57:45 2024
@@ -1,4 +1,4 @@
-# $NetBSD: t_vnd.sh,v 1.12 2022/11/30 17:50:00 martin Exp $
+# $NetBSD: t_vnd.sh,v 1.13 2024/04/04 16:57:45 christos Exp $
 #
 # Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -29,7 +29,8 @@
 #
 
 vnddev=vnd3
-vnd=/dev/${vnddev}
+rvnd=/dev/r${vnddev}a
+vnd=/dev/${vnddev}a
 
 atf_test_case basic cleanup
 basic_head() {
@@ -43,7 +44,7 @@ basic_body() {
 	    dd if=/dev/zero of=disk.img bs=1m count=10
 	atf_check -s eq:0 -o empty -e empty vndconfig -c ${vnddev} disk.img
 
-	atf_check -s eq:0 -o ignore -e ignore newfs -I ${vnd}
+	atf_check -s eq:0 -o ignore -e ignore newfs -I ${rvnd}
 
 	atf_check -s eq:0 -o empty -e empty mkdir mnt
 	atf_check -s eq:0 -o empty -e empty mount ${vnd} mnt

Reply via email to