summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-04-13 23:38:46 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-04-13 23:38:46 +0000
commit04127575525afe8761505a2f1affda6c05ca5f79 (patch)
treecf89881d829ccd25d95e7d8fc44b6f7b600854cd /regress
parent20196168e5e318123389b3a09c00186fd6f8082f (diff)
test doubly linkshare specification
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pfail35.in6
-rw-r--r--regress/sbin/pfctl/pfail35.ok3
3 files changed, 11 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 7f378594ebb..30adce2c694 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.125 2003/04/13 23:37:39 henning Exp $
+# $OpenBSD: Makefile,v 1.126 2003/04/13 23:38:45 henning Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -14,7 +14,7 @@ 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 42 43 44 45 46 47 48 49 50
PFTESTS+=51 52 53 54 55 56 57 58 59 60 61
PFFAIL=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
-PFFAIL+=28 29 30 31 32 33 34
+PFFAIL+=28 29 30 31 32 33 34 35
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
diff --git a/regress/sbin/pfctl/pfail35.in b/regress/sbin/pfctl/pfail35.in
new file mode 100644
index 00000000000..3806e8ac21d
--- /dev/null
+++ b/regress/sbin/pfctl/pfail35.in
@@ -0,0 +1,6 @@
+# linkshare
+
+altq on lo0 tbrsize 1824 bandwidth 10Mb hfsc queue { eins }
+queue eins bandwidth 10% hfsc(default linkshare(20% 20 5%) linkshare 1Mb)
+
+
diff --git a/regress/sbin/pfctl/pfail35.ok b/regress/sbin/pfctl/pfail35.ok
new file mode 100644
index 00000000000..7f06abf1c09
--- /dev/null
+++ b/regress/sbin/pfctl/pfail35.ok
@@ -0,0 +1,3 @@
+stdin:4: linkshare already specified
+pfctl: Syntax error in config file: pf rules not loaded
+altq on lo0 hfsc bandwidth 10Mb tbrsize 1824 queue { eins }