diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-04-14 16:52:26 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-04-14 16:52:26 +0000 |
commit | e106af171b8a87ede85aa92716676f6adc021c30 (patch) | |
tree | bb29ab4a4b09da75c14869b0c7d4727d250c4a63 /regress/sbin/pfctl | |
parent | 91de09d8edd983816ddad595260e4eba2e3bc433 (diff) |
try to provoke print_hfsc_opts to leave out linkshare because m2 == bandwidth
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq14.in | 7 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq14.ok | 4 |
3 files changed, 13 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 2f96a6d490e..e023947b139 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.129 2003/04/14 15:14:14 henning Exp $ +# $OpenBSD: Makefile,v 1.130 2003/04/14 16:52:25 henning Exp $ # TARGETS # pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok @@ -19,7 +19,7 @@ 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 PFLOAD+=30 31 32 34 36 38 39 40 44 46 47 49 54 56 60 61 -PFALTQ=1 2 3 4 5 6 7 8 9 10 11 12 13 +PFALTQ=1 2 3 4 5 6 7 8 9 10 11 12 13 14 # disabled; no altq in anchors # PFLOAD+=33 35 37 42 43 45 51 58 59 62 # disabled; no table def in anchors diff --git a/regress/sbin/pfctl/pfaltq14.in b/regress/sbin/pfctl/pfaltq14.in new file mode 100644 index 00000000000..403c32c7306 --- /dev/null +++ b/regress/sbin/pfctl/pfaltq14.in @@ -0,0 +1,7 @@ +# try to provoke the print function for linkshare to omit printing the likshare +# service curve because m2 = bandwidth, the default + +altq on lo0 tbrsize 1824 bandwidth 10Mb hfsc queue eins +queue eins bandwidth 10% hfsc(default linkshare(15% 20 10%)) + + diff --git a/regress/sbin/pfctl/pfaltq14.ok b/regress/sbin/pfctl/pfaltq14.ok new file mode 100644 index 00000000000..f8304720223 --- /dev/null +++ b/regress/sbin/pfctl/pfaltq14.ok @@ -0,0 +1,4 @@ +queue root_lo0 bandwidth 10Mb priority 0 {eins} +[ qid=1 ifname=lo0 ifbandwidth=10Mb ] +queue eins bandwidth 1Mb hfsc( default linkshare(1.50Mb 20ms 1Mb) ) +[ qid=2 ifname=lo0 ifbandwidth=10Mb ] |