diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-09 18:08:54 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-09 18:08:54 +0000 |
commit | 7742c30e4c3f0d1d3ee74fe26c401bead40d9bde (patch) | |
tree | 019a9415fe7aa47ecb3a4db01878ed51654f1a6c /regress/sbin | |
parent | ad966f05815235aa35cf275f92f61452bddbeb96 (diff) |
same edge case for LOOP_THROUGH in totally different context
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail31.in | 10 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail31.ok | 9 |
3 files changed, 21 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index e5bfa002c5a..1ecf435c350 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.108 2003/03/09 18:04:29 henning Exp $ +# $OpenBSD: Makefile,v 1.109 2003/03/09 18:08:53 henning Exp $ # TARGETS # pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok @@ -14,7 +14,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 58 59 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 +PFFAIL+=28 29 30 31 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/pfail31.in b/regress/sbin/pfctl/pfail31.in new file mode 100644 index 00000000000..8f06e2daf1a --- /dev/null +++ b/regress/sbin/pfctl/pfail31.in @@ -0,0 +1,10 @@ +lan_if = lo0 +ext_if = nothere0 + +altq on $ext_if bandwidth 512Kb cbq queue { q_ext_std } +queue q_ext_std bandwidth 100% cbq(default) { q_ext_p2p } +queue q_ext_p2p bandwidth 25% cbq(red ecn) + +altq on $lan_if bandwidth 512Kb cbq queue { q_lan_std } +queue q_lan_std bandwidth 100% cbq(default) { q_lan_p2p } +queue q_lan_p2p bandwidth 25% cbq(red ecn) diff --git a/regress/sbin/pfctl/pfail31.ok b/regress/sbin/pfctl/pfail31.ok new file mode 100644 index 00000000000..c92cfb010bc --- /dev/null +++ b/regress/sbin/pfctl/pfail31.ok @@ -0,0 +1,9 @@ +stdin:4: unknown interface nothere0 +stdin:5: queue has no parent +stdin:6: queue has no parent +pfctl: Syntax error in file: pf rules not loaded +lan_if = "lo0" +ext_if = "nothere0" +altq on lo0 cbq bandwidth 512Kb tbrsize 33224 queue { q_lan_std } +queue q_lan_std cbq( default ) { q_lan_p2p } +queue q_lan_p2p bandwidth 25% cbq( red ecn ) |