From: anton Date: Wed, 28 Feb 2024 06:33:39 +0000 (+0000) Subject: Infer all rdomains from the environment with sane defaults. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=eb1b88d175d42aba133f3edad188112de6345a69;p=openbsd Infer all rdomains from the environment with sane defaults. --- 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