summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-06-12 09:43:53 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-06-12 09:43:53 +0000
commitebcefee6a7cca1a7e4373fdb19c21478b97e58d3 (patch)
treef238f2cd748f8da4887ef09b6dd19456307170c5 /regress
parent1c43046854d2c47688d03a9aef920a6312d443c7 (diff)
make sure the bug doesn't come back...
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/pfctl/Makefile6
-rw-r--r--regress/sbin/pfctl/pf77.in5
-rw-r--r--regress/sbin/pfctl/pf77.loaded4
-rw-r--r--regress/sbin/pfctl/pf77.ok1
4 files changed, 13 insertions, 3 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index c06491e2781..449a66205da 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.154 2003/05/26 08:12:54 henning Exp $
+# $OpenBSD: Makefile,v 1.155 2003/06/12 09:43:52 henning Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -13,14 +13,14 @@
PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
PFTESTS+=51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
-PFTESTS+=74 75 76
+PFTESTS+=74 75 76 77
PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
PFFAIL+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
PFSIMPLE=1 2
PFSETUP=1 2 3 4
PFLOAD=1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29
PFLOAD+=30 31 32 34 36 38 39 40 44 46 47 48 49 54 56 60 61 65 66 67 68 69 70 71
-PFLOAD+=72 73 74 75 76
+PFLOAD+=72 73 74 75 76 77
PFALTQ=1 2 3 4 5 6 7 8 9 10 11 12 13 14
# disabled; no altq in anchors
# PFLOAD+=33 35 37 42 43 45 51 58 59 62 63 64
diff --git a/regress/sbin/pfctl/pf77.in b/regress/sbin/pfctl/pf77.in
new file mode 100644
index 00000000000..e551ca1e08d
--- /dev/null
+++ b/regress/sbin/pfctl/pf77.in
@@ -0,0 +1,5 @@
+# dynaddr with netmask. I never want to see this again:
+# <HENNING@quigon:1>$ echo "pass inet from (le0)/8" | pfctl -nvf -
+# pass inet from (l)/8 to any
+
+pass inet from (lo0)/8
diff --git a/regress/sbin/pfctl/pf77.loaded b/regress/sbin/pfctl/pf77.loaded
new file mode 100644
index 00000000000..d9355dfa831
--- /dev/null
+++ b/regress/sbin/pfctl/pf77.loaded
@@ -0,0 +1,4 @@
+@0 pass inet from (lo0)/8 to any
+ [ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
diff --git a/regress/sbin/pfctl/pf77.ok b/regress/sbin/pfctl/pf77.ok
new file mode 100644
index 00000000000..a0576f28ef2
--- /dev/null
+++ b/regress/sbin/pfctl/pf77.ok
@@ -0,0 +1 @@
+pass inet from (lo0)/8 to any