summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pf42.in9
-rw-r--r--regress/sbin/pfctl/pf42.ok5
3 files changed, 16 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 8369c0add7e..b4f48dd54a5 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.53 2002/12/07 23:25:30 dhartmei Exp $
+# $OpenBSD: Makefile,v 1.54 2002/12/08 02:18:56 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 37 38 39 40 41
+PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
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/pf42.in b/regress/sbin/pfctl/pf42.in
new file mode 100644
index 00000000000..45e2aea5749
--- /dev/null
+++ b/regress/sbin/pfctl/pf42.in
@@ -0,0 +1,9 @@
+# shuffle opts a bit around to test flexopts
+
+ext_if = "lo0"
+
+altq on $ext_if bandwidth 10Mb cbq \
+ queue { deflt, http, ssh, mail, rsets }
+queue deflt cbq(default ecn) bandwidth 10% priority 0
+queue http priority 3 bandwidth 1.5Mb { http_vhosts, http_cust1 }
+queue http_vhosts cbq(borrow red) bandwidth 40%
diff --git a/regress/sbin/pfctl/pf42.ok b/regress/sbin/pfctl/pf42.ok
new file mode 100644
index 00000000000..6c97df68415
--- /dev/null
+++ b/regress/sbin/pfctl/pf42.ok
@@ -0,0 +1,5 @@
+ext_if = "lo0"
+altq on lo0 cbq bandwidth 10.00Mb tbrsize 1824 queue { deflt http ssh mail rsets }
+queue deflt bandwidth 1000.00Kb priority 0 cbq( red ecn default )
+queue http bandwidth 1.50Mb priority 3 { http_vhosts http_cust1 }
+queue http_vhosts bandwidth 600.00Kb cbq( red borrow )