summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pfr3.in
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/pfr3.in
parent1eb89ea242f33ff47176c75757713eb92fe847a1 (diff)
Add regression tests for radix table address manipulations.
ok dhartmei@
Diffstat (limited to 'regress/sbin/pfctl/pfr3.in')
-rw-r--r--regress/sbin/pfctl/pfr3.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pfr3.in b/regress/sbin/pfctl/pfr3.in
new file mode 100644
index 00000000000..9cf12864c98
--- /dev/null
+++ b/regress/sbin/pfctl/pfr3.in
@@ -0,0 +1,7 @@
+# basic manipulation of IPv4 networks
+pass add 10 10.11 10.11.12 10.11.12.13
+pass delete 10.11.0.0/16 10.11.12.0/24
+pass replace 10.0/8 172.16.0/12 192.168.0/16
+pass test 10.1.1.1 172.17.1.1 192.168.1.1
+fail test 11.1.1.1
+fail test 10.1.1.1 11.1.1.1