summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-06-08 08:06:05 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-06-08 08:06:05 +0000
commita4d488c1226733945d719761df16d4970753cdba (patch)
tree5b92c9f73e30551c33547f1ffb568709082333f8 /regress/sbin
parentf22f00216b56c47cfae604fa93db36d65cac38ba (diff)
regression test for macro concatenation
ok dhartmei@
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/pfctl/pf8.in3
-rw-r--r--regress/sbin/pfctl/pf8.ok9
2 files changed, 8 insertions, 4 deletions
diff --git a/regress/sbin/pfctl/pf8.in b/regress/sbin/pfctl/pf8.in
index 44587b6f654..6d774d0b9db 100644
--- a/regress/sbin/pfctl/pf8.in
+++ b/regress/sbin/pfctl/pf8.in
@@ -1,2 +1,3 @@
-extern = "{ ! 10.0.0.0/8, 10.1.2.3 }"
+extern = "{ ! 10.0.0.0/8, 10.1.2.3, "
+extern += "10.1.2.4, 10.1.2.5 }"
block out log on tun1 from $extern to any
diff --git a/regress/sbin/pfctl/pf8.ok b/regress/sbin/pfctl/pf8.ok
index fcb4edfa2b5..dc327943449 100644
--- a/regress/sbin/pfctl/pf8.ok
+++ b/regress/sbin/pfctl/pf8.ok
@@ -1,3 +1,6 @@
-extern = { ! 10.0.0.0/8, 10.1.2.3 }
-@0 block out log on tun1 inet from 10.1.2.3 to any
-@1 block out log on tun1 inet from ! 10.0.0.0/8 to any
+extern = { ! 10.0.0.0/8, 10.1.2.3,
+extern += 10.1.2.4, 10.1.2.5 }
+@0 block out log on tun1 inet from 10.1.2.5 to any
+@1 block out log on tun1 inet from 10.1.2.4 to any
+@2 block out log on tun1 inet from 10.1.2.3 to any
+@3 block out log on tun1 inet from ! 10.0.0.0/8 to any