summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-02-24 20:56:57 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-02-24 20:56:57 +0000
commit95adea1c1b0945553c2382c7c9cc4f773ef427eb (patch)
tree1fb2f3b8244ae781d01524bba6179419e3e3b914
parentc6a8d85d827ce7280d4207fd92b2c61cd407107e (diff)
test for invalid next pointers in symhead with macro redefinitions.
fails right now
-rw-r--r--regress/sbin/pfctl/Makefile6
-rw-r--r--regress/sbin/pfctl/pf57.in4
-rw-r--r--regress/sbin/pfctl/pf57.ok4
3 files changed, 11 insertions, 3 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 1d844c638e2..7c5b4717c9f 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.94 2003/02/23 00:22:11 mcbride Exp $
+# $OpenBSD: Makefile,v 1.95 2003/02/24 20:56:56 henning Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -12,7 +12,7 @@
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
+PFTESTS+=51 52 53 54 55 56 57
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
PFSIMPLE=1
PFSETUP=1 2 3
@@ -23,7 +23,7 @@ PFLOAD+=30 31 32 34 36 38 39 40 44 46 47 49 54 56
# disabled; no table def in anchors
# PFLOAD+=48
# only testing parser, load test would be useless
-# PFLOAD+=6 22 41 50 52 53 55
+# PFLOAD+=6 22 41 50 52 53 55 57
PFTABLE=1 2 3 4 5 6 7 8 9 10 11 12
PFOPT=1 2 3 4 5
diff --git a/regress/sbin/pfctl/pf57.in b/regress/sbin/pfctl/pf57.in
new file mode 100644
index 00000000000..0eca99d162f
--- /dev/null
+++ b/regress/sbin/pfctl/pf57.in
@@ -0,0 +1,4 @@
+a="10.0.0.1"
+b="x"
+b="y"
+pass in from $a
diff --git a/regress/sbin/pfctl/pf57.ok b/regress/sbin/pfctl/pf57.ok
new file mode 100644
index 00000000000..0a0614a740d
--- /dev/null
+++ b/regress/sbin/pfctl/pf57.ok
@@ -0,0 +1,4 @@
+a = "10.0.0.1"
+b = "x"
+b = "y"
+pass in inet from 10.0.0.1 to any