summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-02-19 23:23:31 +0000
committerhenning <henning@openbsd.org>2003-02-19 23:23:31 +0000
commit7b75c5857358e3e5cfef434f18164cc744259746 (patch)
treea84611f97a25a5d3cc6151edf74a83a6a410d4bd
parentpoor queues need a parent (diff)
downloadwireguard-openbsd-7b75c5857358e3e5cfef434f18164cc744259746.tar.xz
wireguard-openbsd-7b75c5857358e3e5cfef434f18164cc744259746.zip
...and poor new files need to be added... *sigh*
-rw-r--r--regress/sbin/pfctl/pfail18.in6
-rw-r--r--regress/sbin/pfctl/pfail18.ok5
2 files changed, 11 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pfail18.in b/regress/sbin/pfctl/pfail18.in
new file mode 100644
index 00000000000..a623ea28359
--- /dev/null
+++ b/regress/sbin/pfctl/pfail18.in
@@ -0,0 +1,6 @@
+# queue without parent
+
+altq on lo0 cbq bandwidth 10Mb queue { frenchs eat frogs }
+queue frenchs bandwidth 30% cbq(default)
+queue eat bandwidth 30%
+queue toads bandwidth 30%
diff --git a/regress/sbin/pfctl/pfail18.ok b/regress/sbin/pfctl/pfail18.ok
new file mode 100644
index 00000000000..c5e2cff5a00
--- /dev/null
+++ b/regress/sbin/pfctl/pfail18.ok
@@ -0,0 +1,5 @@
+stdin:6: queue has no parent
+pfctl: Syntax error in file: pf rules not loaded
+altq on lo0 cbq bandwidth 10.00Mb tbrsize 1824 queue { frenchs eat frogs }
+queue frenchs bandwidth 3.00Mb cbq( default )
+queue eat bandwidth 3.00Mb