diff options
author | Peter Stromberg <wilfried@cvs.openbsd.org> | 2001-07-31 09:02:19 +0000 |
---|---|---|
committer | Peter Stromberg <wilfried@cvs.openbsd.org> | 2001-07-31 09:02:19 +0000 |
commit | b0769dbc2507551f4526c8965060598b757d4df7 (patch) | |
tree | c890810de9bc46211229e1fd2596a0c2c520d66f /regress/sbin/pfctl | |
parent | 1551f2bd8b7cc0a52785e59576213c36084939f3 (diff) |
allow to test that flags are unset, ok dhartmei@, mickey@
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf3.in | 6 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf3.ok | 5 |
3 files changed, 13 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 207bc67ddaa..89ec2c4c7cf 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.1 2001/07/26 14:33:45 markus Exp $ +# $OpenBSD: Makefile,v 1.2 2001/07/31 09:02:18 wilfried Exp $ NOMAN= NOPROG= -PFTESTS=1 2 +PFTESTS=1 2 3 pfail1: @pfctl -nvR- < ${.CURDIR}/pfail1.in > /dev/null 2>&1 || \ diff --git a/regress/sbin/pfctl/pf3.in b/regress/sbin/pfctl/pf3.in new file mode 100644 index 00000000000..739bd1f81fa --- /dev/null +++ b/regress/sbin/pfctl/pf3.in @@ -0,0 +1,6 @@ +pass in all +pass in from any to any + +block in proto tcp from any to any flags FUP +block in proto tcp from any to any flags SF/SFRA +block in proto tcp from any to any flags /SFRA diff --git a/regress/sbin/pfctl/pf3.ok b/regress/sbin/pfctl/pf3.ok new file mode 100644 index 00000000000..ecaf8636412 --- /dev/null +++ b/regress/sbin/pfctl/pf3.ok @@ -0,0 +1,5 @@ +@1 pass in all +@1 pass in all +@1 block in proto tcp all flags FPU/FSRPAU +@1 block in proto tcp all flags FS/FSRA +@1 block in proto tcp all flags /FSRA |