diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-20 00:19:21 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-20 00:19:21 +0000 |
commit | b7cbcf2e2473d689cad164c3d55db22e880426f9 (patch) | |
tree | 73cd5b0b0f4eb91eccef0df34606f29e6c401d1e /regress/sbin | |
parent | 2a12ea09dbac995890bb4f7e82566a5030bc3489 (diff) |
test for nonexistant interface rejection in the dynaddr case
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail21.in | 3 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail21.ok | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 616b72f9267..13258295b6d 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.85 2003/02/19 23:33:11 henning Exp $ +# $OpenBSD: Makefile,v 1.86 2003/02/20 00:19:20 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 -PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 +PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 PFSIMPLE=1 PFSETUP=1 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/pfail21.in b/regress/sbin/pfctl/pfail21.in new file mode 100644 index 00000000000..de61f76a61f --- /dev/null +++ b/regress/sbin/pfctl/pfail21.in @@ -0,0 +1,3 @@ +# nonexistant interface in the dynamic case + +block inet from (nonexistant0) diff --git a/regress/sbin/pfctl/pfail21.ok b/regress/sbin/pfctl/pfail21.ok new file mode 100644 index 00000000000..cff42f16547 --- /dev/null +++ b/regress/sbin/pfctl/pfail21.ok @@ -0,0 +1,2 @@ +stdin:3: interface nonexistant0 does not exist +pfctl: Syntax error in file: pf rules not loaded |