summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-05-19 18:38:14 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-05-19 18:38:14 +0000
commit1cf1f6f074440efca0ccecb80f13dec233cfb7da (patch)
treed8c138ed22d7ff04d1ab1bc989a5b61167fc5c7c /regress/sbin
parent22c06ec272316fe1e30dd5e4a8cbcae8333ce047 (diff)
invalid hostspec in redirection target
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pfail41.in3
-rw-r--r--regress/sbin/pfctl/pfail41.ok3
3 files changed, 8 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 973fd09dded..ff3c4f66fbf 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.149 2003/05/19 18:21:28 henning Exp $
+# $OpenBSD: Makefile,v 1.150 2003/05/19 18:38:13 henning Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -15,7 +15,7 @@ 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
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
+PFFAIL+=28 29 30 31 32 33 34 35 36 37 38 39 40 41
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
diff --git a/regress/sbin/pfctl/pfail41.in b/regress/sbin/pfctl/pfail41.in
new file mode 100644
index 00000000000..92fd71ba7e3
--- /dev/null
+++ b/regress/sbin/pfctl/pfail41.in
@@ -0,0 +1,3 @@
+# we have to bail out on host() errors
+nat on lo0 from any to 10/8 -> 10.0.0.0.1
+
diff --git a/regress/sbin/pfctl/pfail41.ok b/regress/sbin/pfctl/pfail41.ok
new file mode 100644
index 00000000000..39cd91a6965
--- /dev/null
+++ b/regress/sbin/pfctl/pfail41.ok
@@ -0,0 +1,3 @@
+no IP address found for 10.0.0.0.1
+stdin:2: could not parse host specification
+pfctl: Syntax error in config file: pf rules not loaded