Module Name: src
Committed By: christos
Date: Fri Mar 21 16:39:30 UTC 2025
Modified Files:
src/tests/fs/tmpfs: t_vnd.sh
Log Message:
Add a label because on sun a sunlabel with all zeros has no partitions.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 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.14 src/tests/fs/tmpfs/t_vnd.sh:1.15
--- src/tests/fs/tmpfs/t_vnd.sh:1.14 Sun Apr 28 03:27:41 2024
+++ src/tests/fs/tmpfs/t_vnd.sh Fri Mar 21 12:39:30 2025
@@ -1,4 +1,4 @@
-# $NetBSD: t_vnd.sh,v 1.14 2024/04/28 07:27:41 rillig Exp $
+# $NetBSD: t_vnd.sh,v 1.15 2025/03/21 16:39:30 christos Exp $
#
# Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -44,8 +44,18 @@ basic_body() {
dd if=/dev/zero of=disk.img bs=1m count=10
atf_check -s exit:0 -o empty -e empty vndconfig -c ${vnddev} disk.img
+ atf_check -s exit:0 -o ignore -e ignore disklabel -i -I ${vnddev} << EOF
+a
+4.2BSD
+0
+$
+W
+y
+Q
+EOF
atf_check -s exit:0 -o ignore -e ignore newfs -I ${rvnd}
+
atf_check -s exit:0 -o empty -e empty mkdir mnt
atf_check -s exit:0 -o empty -e empty mount ${vnd} mnt