diff options
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail26.in | 7 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail26.ok | 5 |
3 files changed, 14 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 69c55f3f6db..c4e494cdfa0 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.96 2003/02/25 09:06:32 cedric Exp $ +# $OpenBSD: Makefile,v 1.97 2003/02/26 13:19:02 henning Exp $ # TARGETS # pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok @@ -13,7 +13,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 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 +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 PFSIMPLE=1 2 PFSETUP=1 2 3 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/pfail26.in b/regress/sbin/pfctl/pfail26.in new file mode 100644 index 00000000000..8d2e0912919 --- /dev/null +++ b/regress/sbin/pfctl/pfail26.in @@ -0,0 +1,7 @@ +# anchorname too long + +rdr-anchor too-long-anchor1 +nat-anchor too-long-anchor2 +binat-anchor too-long-anchor3 +anchor too-long-anchor4 + diff --git a/regress/sbin/pfctl/pfail26.ok b/regress/sbin/pfctl/pfail26.ok new file mode 100644 index 00000000000..35149819a4b --- /dev/null +++ b/regress/sbin/pfctl/pfail26.ok @@ -0,0 +1,5 @@ +stdin:3: anchor name 'too-long-anchor1' too long +stdin:4: anchor name 'too-long-anchor2' too long +stdin:5: anchor name 'too-long-anchor3' too long +stdin:6: anchor name 'too-long-anchor4' too long +pfctl: Syntax error in file: pf rules not loaded |