summaryrefslogtreecommitdiff
path: root/regress/sys/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2022-07-26 13:20:17 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2022-07-26 13:20:17 +0000
commit832416761d223ca851f94bb5f0925ccd25f294a9 (patch)
tree7baa7fb3c63ec4269fafcd96708d4eec80778f63 /regress/sys/dev
parented83676266d1f24b0ac99bddc063937958e8afa2 (diff)
Don't use echo "<blah>" | fdisk -e to create boot partition.
Use -b like the install scripts do. Spotted by anton@.
Diffstat (limited to 'regress/sys/dev')
-rw-r--r--regress/sys/dev/vnd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/dev/vnd/Makefile b/regress/sys/dev/vnd/Makefile
index 5c1bf6cc32d..99e2880670b 100644
--- a/regress/sys/dev/vnd/Makefile
+++ b/regress/sys/dev/vnd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2020/03/12 15:40:39 visa Exp $
+# $OpenBSD: Makefile,v 1.2 2022/07/26 13:20:16 krw Exp $
REGRESS_SETUP= setup
REGRESS_CLEANUP= cleanup
@@ -19,7 +19,7 @@ run-regress-async-mount: unconfig
mount_mfs -s1M -oasync swap /mnt/regress-vnd
dd if=/dev/zero of=/mnt/regress-vnd/disk.img count=1024
vnconfig vnd0 /mnt/regress-vnd/disk.img
- echo 'e 0\nC\n\n64\n960\nw\nq\n' | fdisk -e vnd0
+ fdisk -iy -b "960@64:0c" vnd0
newfs -t msdos vnd0i
REGRESS_ROOT_TARGETS= ${REGRESS_TARGETS}