summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2001-09-04 13:58:50 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2001-09-04 13:58:50 +0000
commit8bf3a65055d5fa9277ba2abf874eccd077cce69a (patch)
tree3866824dc9146429a9a8aeb53a3d03022b1df83a /regress/sbin
parentb50c3469de727a6df9fe741b63d5eba6d5b3f51a (diff)
Add regress test for "on { if, if }" syntax.
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pf9.in3
-rw-r--r--regress/sbin/pfctl/pf9.ok3
3 files changed, 8 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 8deecc444b0..7f01d0d1f2c 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.6 2001/08/28 12:17:04 markus Exp $
+# $OpenBSD: Makefile,v 1.7 2001/09/04 13:58:49 dhartmei Exp $
NOMAN=
NOPROG=
-PFTESTS=1 2 3 4 5 6 7 8
+PFTESTS=1 2 3 4 5 6 7 8 9
pfail1:
@pfctl -nv -R - < ${.CURDIR}/pfail1.in > /dev/null 2>&1 || \
diff --git a/regress/sbin/pfctl/pf9.in b/regress/sbin/pfctl/pf9.in
new file mode 100644
index 00000000000..31a939418d7
--- /dev/null
+++ b/regress/sbin/pfctl/pf9.in
@@ -0,0 +1,3 @@
+interfaces = "{ gm0, kue0 }"
+
+block in on $interfaces all
diff --git a/regress/sbin/pfctl/pf9.ok b/regress/sbin/pfctl/pf9.ok
new file mode 100644
index 00000000000..bad26450dce
--- /dev/null
+++ b/regress/sbin/pfctl/pf9.ok
@@ -0,0 +1,3 @@
+interfaces = { gm0, kue0 }
+@0 block in on kue0 all
+@0 block in on gm0 all