diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-29 17:43:42 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-29 17:43:42 +0000 |
commit | b514cc389ac2411566454694733dea15b54dff8c (patch) | |
tree | 2840de4f83a8e27cdb8e31e39ad74e29a989a437 /regress/sbin | |
parent | 0bf41fc2016c3e8b2424d4369f6c4b3537e42c25 (diff) |
test altq with interface expansion
as side-effect, this also tests multiple queues with the same name but on
different interfaces
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf37.in | 5 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf37.ok | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 8cf69711318..fa77277b448 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.45 2002/11/28 12:44:42 mcbride Exp $ +# $OpenBSD: Makefile,v 1.46 2002/11/29 17:43:41 henning Exp $ 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 +PFTESTS+=28 29 30 31 32 33 34 35 36 37 PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 PFSIMPLE=1 2 PFSETUP=1 diff --git a/regress/sbin/pfctl/pf37.in b/regress/sbin/pfctl/pf37.in new file mode 100644 index 00000000000..3fb085bbf64 --- /dev/null +++ b/regress/sbin/pfctl/pf37.in @@ -0,0 +1,5 @@ +#test altq with interface expansion +#also tests multiple queues with the same name but on different interfaces + +altq on { lo0 lo1 } scheduler cbq bandwidth 10Mb queue std +queue std cbq(default) diff --git a/regress/sbin/pfctl/pf37.ok b/regress/sbin/pfctl/pf37.ok new file mode 100644 index 00000000000..df0dd281b35 --- /dev/null +++ b/regress/sbin/pfctl/pf37.ok @@ -0,0 +1,3 @@ +altq on lo0 scheduler cbq bandwidth 10.00Mb tbrsize 6000 queue { std } +altq on lo1 scheduler cbq bandwidth 10.00Mb tbrsize 6000 queue { std } +queue std bandwidth 10.00Mb cbq( default ) |