Infer rdomains from environment variables N1 and N2 like many others in
authoranton <anton@openbsd.org>
Wed, 7 Feb 2024 19:26:58 +0000 (19:26 +0000)
committeranton <anton@openbsd.org>
Wed, 7 Feb 2024 19:26:58 +0000 (19:26 +0000)
regress/sys/net already does. No functional change as the defaults
remains the same.

regress/usr.sbin/ospf6d/Makefile

index 9ec35d8..7bec3ee 100644 (file)
@@ -1,11 +1,15 @@
-# $OpenBSD: Makefile,v 1.4 2021/10/07 15:20:35 anton Exp $
+# $OpenBSD: Makefile,v 1.5 2024/02/07 19:26:58 anton Exp $
 
 REGRESS_TARGETS=       network_statement
 REGRESS_ROOT_TARGETS=  ${REGRESS_TARGETS}
 
 OSPF6D ?=              /usr/sbin/ospf6d
 
+N1?=   11
+N2?=   12
+
 network_statement:
-       ${SUDO} ksh ${.CURDIR}/$@.sh ${OSPF6D} ${.CURDIR} ${.OBJDIR} 11 12 pair11 pair12
+       ${SUDO} ksh ${.CURDIR}/$@.sh ${OSPF6D} ${.CURDIR} ${.OBJDIR} \
+               ${N1} ${N2} pair${N1} pair${N2}
 
 .include <bsd.regress.mk>