summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-03-12 15:50:31 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-03-12 15:50:31 +0000
commit09f159f900a2ed43315a5d7ddbcc19d779f35183 (patch)
treef56da62268f430db819fde14910578c281238de3 /regress/sbin
parentc20276e90d072199a1d6cd926c37e64553979536 (diff)
use gif3 instead of lo0 for this test and thus avoid the mtu issue on
loopback interfaces with 64bit archs. as the minimum bandwidth calculation includes mtu and it is given in the error message... go figure
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/pfctl/pfail32.in2
-rw-r--r--regress/sbin/pfctl/pfail32.ok10
2 files changed, 3 insertions, 9 deletions
diff --git a/regress/sbin/pfctl/pfail32.in b/regress/sbin/pfctl/pfail32.in
index ef4d07a246a..bed86c57149 100644
--- a/regress/sbin/pfctl/pfail32.in
+++ b/regress/sbin/pfctl/pfail32.in
@@ -1,4 +1,4 @@
# queue doubly defined on one interface
-altq on lo0 cbq bandwidth 100Kb queue { eins, zwei }
+altq on gif3 cbq bandwidth 100Kb queue { eins, zwei }
queue eins cbq (default) { zwei }
queue zwei
diff --git a/regress/sbin/pfctl/pfail32.ok b/regress/sbin/pfctl/pfail32.ok
index 81cb9be8e74..96bf886a39b 100644
--- a/regress/sbin/pfctl/pfail32.ok
+++ b/regress/sbin/pfctl/pfail32.ok
@@ -1,11 +1,5 @@
-pfctl: queue bandwidth must be larger than 123.77Kb
-cbq: queue root_lo0 is too slow!
-pfctl: queue bandwidth must be larger than 123.77Kb
-cbq: queue eins is too slow!
-pfctl: queue bandwidth must be larger than 123.77Kb
-cbq: queue zwei is too slow!
-queue zwei already exists on interface lo0
+queue zwei already exists on interface gif3
pfctl: Syntax error in file: pf rules not loaded
-altq on lo0 cbq bandwidth 100Kb tbrsize 33224 queue { eins zwei }
+altq on gif3 cbq bandwidth 100Kb tbrsize 1280 queue { eins zwei }
queue eins cbq( default ) { zwei }
queue zwei