Infer rdomains from environment variables N1 and N2 like many others in
authoranton <anton@openbsd.org>
Wed, 11 Oct 2023 18:07:15 +0000 (18:07 +0000)
committeranton <anton@openbsd.org>
Wed, 11 Oct 2023 18:07:15 +0000 (18:07 +0000)
regress/sys/net already does. No functional change as the defaults
remains the same.

regress/sys/net/vxlan/Makefile
regress/sys/netinet/carp/Makefile

index 7a982ac..7bc3d13 100644 (file)
@@ -1,9 +1,11 @@
-#      $OpenBSD: Makefile,v 1.5 2022/04/29 17:27:38 bluhm Exp $
+#      $OpenBSD: Makefile,v 1.6 2023/10/11 18:07:15 anton Exp $
 
 REGRESS_TARGETS=       vxlan_1 vxlan_2.inet vxlan_2.dyn
 REGRESS_ROOT_TARGETS=  vxlan_1 vxlan_2.inet vxlan_2.dyn
 
-RDOMAINS=              11 12
+N1=                    11
+N2=                    12
+RDOMAINS=              ${N1} ${N2}
 IFACE_NUMS=            11 12
 
 vxlan_1:
index b9747ec..a0cfa21 100644 (file)
@@ -1,9 +1,11 @@
-#      $OpenBSD: Makefile,v 1.1 2016/10/24 02:52:02 yasuoka Exp $
+#      $OpenBSD: Makefile,v 1.2 2023/10/11 18:07:15 anton Exp $
 
 REGRESS_TARGETS=       carp_1 carp_2 carp_3 carp_4
 REGRESS_ROOT_TARGETS=  carp_1 carp_2 carp_3 carp_4
 
-RDOMAINS=              11 12
+N1=                    11
+N2=                    12
+RDOMAINS=              ${N1} ${N2}
 IFACE_NUMS=            11 12
 
 #TESTOPTS=             -v