summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@cvs.openbsd.org>2024-02-28 06:33:40 +0000
committerAnton Lindqvist <anton@cvs.openbsd.org>2024-02-28 06:33:40 +0000
commitf2b7e07fcd923dde85cf43a00ec0e049eea7924b (patch)
tree87a006471ae284ce268aa612d134e0213090c51d
parent5c4535e15493db2e43af7db8e785b9edaeb8b482 (diff)
Infer all rdomains from the environment with sane defaults.
-rw-r--r--regress/sys/net/vxlan/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/regress/sys/net/vxlan/Makefile b/regress/sys/net/vxlan/Makefile
index 7bc3d130650..9cd0c4102c9 100644
--- a/regress/sys/net/vxlan/Makefile
+++ b/regress/sys/net/vxlan/Makefile
@@ -1,28 +1,31 @@
-# $OpenBSD: Makefile,v 1.6 2023/10/11 18:07:15 anton Exp $
+# $OpenBSD: Makefile,v 1.7 2024/02/28 06:33:39 anton Exp $
REGRESS_TARGETS= vxlan_1 vxlan_2.inet vxlan_2.dyn
REGRESS_ROOT_TARGETS= vxlan_1 vxlan_2.inet vxlan_2.dyn
N1= 11
N2= 12
-RDOMAINS= ${N1} ${N2}
-IFACE_NUMS= 11 12
+N3= 13
+N4= 14
+N5= 15
vxlan_1:
- ${SUDO} ksh ${.CURDIR}/$@.sh -R "${RDOMAINS}" -I "${IFACE_NUMS}"
+ ${SUDO} ksh ${.CURDIR}/$@.sh -R "${N1} ${N2}" -I "${N1} ${N2}"
vxlan_2.inet:
- ${SUDO} ksh ${.CURDIR}/${@:R}.sh -R "40 41 42 43 44" -f inet
+ ${SUDO} ksh ${.CURDIR}/${@:R}.sh \
+ -R "${N1} ${N2} ${N3} ${N4} ${N5}" -f inet
vxlan_2.dyn:
env SUDO="${SUDO}" DYNAMIC=1 \
- ksh ${.CURDIR}/${@:R}.sh -R "40 41 42 43 44" -f inet
+ ksh ${.CURDIR}/${@:R}.sh -R "${N1} ${N2} ${N3} ${N4} ${N5}" -f inet
vxlan_2.inet6:
- ${SUDO} ksh ${.CURDIR}/${@:R}.sh -R "40 41 42 43 44" -f inet6
+ ${SUDO} ksh ${.CURDIR}/${@:R}.sh \
+ -R "${N1} ${N2} ${N3} ${N4} ${N5}" -f inet6
vxlan_2.dyn6:
env SUDO="${SUDO}" DYNAMIC=1 \
- ksh ${.CURDIR}/${@:R}.sh -R "40 41 42 43 44" -f inet6
+ ksh ${.CURDIR}/${@:R}.sh -R "${N1} ${N2} ${N3} ${N4} ${N5}" -f inet6
.include <bsd.regress.mk>