From e2e3c12c6a48b0ec3a0fa2850216935b1eb8adbd Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Tue, 11 Mar 2003 15:10:32 +0000 Subject: add comments saying what we are testing --- regress/sbin/pfctl/pfaltq1.in | 2 ++ regress/sbin/pfctl/pfaltq2.in | 3 +++ regress/sbin/pfctl/pfaltq3.in | 4 ++++ regress/sbin/pfctl/pfaltq4.in | 2 ++ 4 files changed, 11 insertions(+) diff --git a/regress/sbin/pfctl/pfaltq1.in b/regress/sbin/pfctl/pfaltq1.in index 739d32c0236..63e959e7e60 100644 --- a/regress/sbin/pfctl/pfaltq1.in +++ b/regress/sbin/pfctl/pfaltq1.in @@ -1,3 +1,5 @@ +#queue id assignment with priq + altq on { lo0 tun0 } tbrsize 1824 priq bandwidth 10Mb queue { one two } queue one priority 1 priq(default) queue two priority 15 diff --git a/regress/sbin/pfctl/pfaltq2.in b/regress/sbin/pfctl/pfaltq2.in index 17fc58704e5..b9250d4fd17 100644 --- a/regress/sbin/pfctl/pfaltq2.in +++ b/regress/sbin/pfctl/pfaltq2.in @@ -1,3 +1,6 @@ +#queue id assignment with cbq: two same named queues on different interfaces +#must have the same qid + altq on { lo0 tun0 } tbrsize 1824 cbq bandwidth 10Mb queue { one two } queue one bandwidth 10% cbq(default) queue two bandwidth 90% { three four} diff --git a/regress/sbin/pfctl/pfaltq3.in b/regress/sbin/pfctl/pfaltq3.in index 70af0ebbb3e..5ff58aff815 100644 --- a/regress/sbin/pfctl/pfaltq3.in +++ b/regress/sbin/pfctl/pfaltq3.in @@ -1,3 +1,7 @@ +# more complicated case to provoke queue id assignment errors: +# -two same named queues must have same qid on all interfaces +# -two differently named queues must not share a qid, even on different ifs + altq on lo0 tbrsize 1824 bandwidth 10Mb cbq queue { eins zwei drei } altq on tun0 tbrsize 1824 bandwidth 33600b cbq queue { vier zwei fuenf } queue eins bandwidth 10% cbq(default) diff --git a/regress/sbin/pfctl/pfaltq4.in b/regress/sbin/pfctl/pfaltq4.in index 50ddc2303ad..2bf5fb2606b 100644 --- a/regress/sbin/pfctl/pfaltq4.in +++ b/regress/sbin/pfctl/pfaltq4.in @@ -1,3 +1,5 @@ +# test two different named queues don't get the same qid on different interfaces + altq on lo0 tbrsize 1824 bandwidth 10Mb cbq queue { bloody germans } altq on tun0 tbrsize 1824 bandwidth 10Mb cbq queue { bloody toads } queue bloody cbq(default) bandwidth 50% -- cgit v1.2.3