diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-11 15:10:32 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-11 15:10:32 +0000 |
commit | e2e3c12c6a48b0ec3a0fa2850216935b1eb8adbd (patch) | |
tree | c06e2afaedd32db9f472e3c62ea6645759e0c2e6 /regress/sbin | |
parent | cef641c2e40784caeb6fb06969659f410899222c (diff) |
add comments saying what we are testing
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/pfctl/pfaltq1.in | 2 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq2.in | 3 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq3.in | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfaltq4.in | 2 |
4 files changed, 11 insertions, 0 deletions
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% |