summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-07-15 18:19:37 +0000
committerhenning <henning@openbsd.org>2002-07-15 18:19:37 +0000
commit6d42ba888a9a51c06e933154b64deec187f79c6d (patch)
treeebae85eb144924963d585f4de81851144854848e
parentadd support for (diff)
downloadwireguard-openbsd-6d42ba888a9a51c06e933154b64deec187f79c6d.tar.xz
wireguard-openbsd-6d42ba888a9a51c06e933154b64deec187f79c6d.zip
test "on ! interface"
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pf23.in2
-rw-r--r--regress/sbin/pfctl/pf23.ok1
3 files changed, 5 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 47de5c3b4ca..783ddd81013 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.23 2002/07/08 11:46:32 dhartmei Exp $
+# $OpenBSD: Makefile,v 1.24 2002/07/15 18:19:37 henning Exp $
-PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
+PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12
.for n in ${PFFAIL}
diff --git a/regress/sbin/pfctl/pf23.in b/regress/sbin/pfctl/pf23.in
new file mode 100644
index 00000000000..2adbe16c4a5
--- /dev/null
+++ b/regress/sbin/pfctl/pf23.in
@@ -0,0 +1,2 @@
+#test negated interface matching
+block in on ! lo0 all
diff --git a/regress/sbin/pfctl/pf23.ok b/regress/sbin/pfctl/pf23.ok
new file mode 100644
index 00000000000..a4c541f4918
--- /dev/null
+++ b/regress/sbin/pfctl/pf23.ok
@@ -0,0 +1 @@
+@0 block in on ! lo0 all