summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pfr9.ok
diff options
context:
space:
mode:
authorCedric Berger <cedric@cvs.openbsd.org>2003-01-14 14:43:32 +0000
committerCedric Berger <cedric@cvs.openbsd.org>2003-01-14 14:43:32 +0000
commitfdfc403c0410124b37b06d1cf07ae278bdd159d3 (patch)
tree391ddf1cf8d077a908e06ec866d233c408801969 /regress/sbin/pfctl/pfr9.ok
parent1eb89ea242f33ff47176c75757713eb92fe847a1 (diff)
Add regression tests for radix table address manipulations.
ok dhartmei@
Diffstat (limited to 'regress/sbin/pfctl/pfr9.ok')
-rw-r--r--regress/sbin/pfctl/pfr9.ok97
1 files changed, 97 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pfr9.ok b/regress/sbin/pfctl/pfr9.ok
new file mode 100644
index 00000000000..88fba9efbb7
--- /dev/null
+++ b/regress/sbin/pfctl/pfr9.ok
@@ -0,0 +1,97 @@
+# create
+1 table added.
+# add -n 1.2.3.4 ::1 1.2.3.4 ::1
+2/4 addresses added (dummy).
+# add -nf-
+2/4 addresses added (dummy).
+# add -nqv
+A 1.2.3.4
+A ::1
+X 1.2.3.4
+X ::1
+# add -nqvv
+A 1.2.3.4
+A ::1
+X 1.2.3.4
+X ::1
+# add
+2/4 addresses added.
+# add -n 1.2.3.4 ::1 1.2.3.4 ::1
+0/4 addresses added (dummy).
+# add -nf-
+0/4 addresses added (dummy).
+# add -nqv
+# add -nqvv
+ 1.2.3.4
+ ::1
+ 1.2.3.4
+ ::1
+# add
+0/4 addresses added.
+# delete -n 1.2.3.4 ::1 1.2.3.4 ::1
+2/4 addresses deleted (dummy).
+# delete -nf-
+2/4 addresses deleted (dummy).
+# delete -nqv
+D 1.2.3.4
+D ::1
+X 1.2.3.4
+X ::1
+# delete -nqvv
+D 1.2.3.4
+D ::1
+X 1.2.3.4
+X ::1
+# delete
+2/4 addresses deleted.
+# delete -n 1.2.3.4 ::1 1.2.3.4 ::1
+0/4 addresses deleted (dummy).
+# delete -nf-
+0/4 addresses deleted (dummy).
+# delete -nqv
+# delete -nqvv
+ 1.2.3.4
+ ::1
+ 1.2.3.4
+ ::1
+# delete
+0/4 addresses deleted.
+# replace -n 1.2.3.4 ::1 1.2.3.4 ::1
+2 addresses added (dummy).
+# replace -nf-
+2 addresses added (dummy).
+# replace -nqv
+A 1.2.3.4
+A ::1
+X 1.2.3.4
+X ::1
+# replace -nqvv
+A 1.2.3.4
+A ::1
+X 1.2.3.4
+X ::1
+# replace
+2 addresses added.
+# replace -n 1.2.3.4 ::1 1.2.3.4 ::1
+no changes (dummy).
+# replace -nf-
+no changes (dummy).
+# replace -nqv
+X 1.2.3.4
+X ::1
+# replace -nqvv
+ 1.2.3.4
+ ::1
+X 1.2.3.4
+X ::1
+# replace
+no changes.
+# show
+ 1.2.3.4
+ ::1
+# table
+regress
+# table -v
+-pa-- regress
+# kill
+1 table deleted.