-# $OpenBSD: Makefile,v 1.10 2020/12/16 22:59:55 bluhm Exp $
+# $OpenBSD: Makefile,v 1.11 2023/04/26 10:14:21 dv Exp $
VMD ?= /usr/sbin/vmd
VMD_PASS=boot-keyword memory-round memory-just-enough cdrom-keyword \
format-keyword
-VMD_FAIL=kernel-keyword too-few-ram vm-name-too-long too-many-ifs \
- boot-name-too-long disk-path-too-long too-many-disks \
- switch-no-interface switch-no-add cdrom-name-too-long \
- bad-format missing-format
+VMD_FAIL=kernel-keyword too-few-ram too-many-ifs too-many-disks \
+ switch-no-interface switch-no-add bad-format missing-format
.for n in ${VMD_PASS}
REGRESS_TARGETS += run-pass-$n
foo.img disk0.img disk1.img disk2.img disk3.img disk4.img:
touch $@
-PATH_LONG = some/relativepath/somewhere/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789
-BOOT_PATH_LONG = ${PATH_LONG}/bsd.rd
-DISK_PATH_LONG = ${PATH_LONG}/bsd.img
-
-run-fail-boot-name-too-long: ${BOOT_PATH_LONG}
-run-fail-disk-path-too-long: ${DISK_PATH_LONG}
-
-${BOOT_PATH_LONG} ${DISK_PATH_LONG}:
- mkdir -p ${@:H}
- touch $@
-
clean:
rm -f -- *.img
rm -rf some
+++ /dev/null
-# $OpenBSD: vmd-fail-boot-name-too-long.conf,v 1.2 2018/10/22 16:45:24 bluhm Exp $
-# Fail on boot path (> 128)
-ramdisk="some/relativepath/somewhere/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789/bsd.rd"
-vm "x" {
- boot $ramdisk
-}
+++ /dev/null
-# $OpenBSD: vmd-fail-cdrom-name-too-long.conf,v 1.1 2018/01/07 22:59:57 ccardenas Exp $
-# Fail on cdrom path (> 128)
-iso="/some/absolutepath/somewhere/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789/cd62.iso"
-vm "x" {
- cdrom $iso
-}
+++ /dev/null
-# $OpenBSD: vmd-fail-disk-path-too-long.conf,v 1.2 2018/07/20 22:18:49 bluhm Exp $
-# Fail on disk path (> 128)
-rdisk="some/relativepath/somewhere/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789/bsd.img"
-vm "x" {
- disk $rdisk
-}
+++ /dev/null
-# $OpenBSD: vmd-fail-vm-name-too-long.conf,v 1.2 2019/03/04 21:36:21 bluhm Exp $
-# Fail on VM name (>= 64 chars)
-vm "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ__" {
-}