summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2002-06-10 02:10:40 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2002-06-10 02:10:40 +0000
commit887f4f0ff3890c99b6680654a5454f64eec6af84 (patch)
tree2df06828cea889bbd4bad3a51c5b6248dcfce9a9 /regress
parent3ca7a17613690095e050fa7f79b016f86ce85617 (diff)
Add regression tests for scrub
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pf15.in6
-rw-r--r--regress/sbin/pfctl/pf15.ok5
3 files changed, 13 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 15ade1d072a..10839ae3377 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.16 2002/06/09 02:51:45 kjell Exp $
+# $OpenBSD: Makefile,v 1.17 2002/06/10 02:10:39 kjell Exp $
-PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14
+PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
PFFAIL=1 2 3 4 5 6 7 8
.for n in ${PFFAIL}
diff --git a/regress/sbin/pfctl/pf15.in b/regress/sbin/pfctl/pf15.in
new file mode 100644
index 00000000000..943088eb8a1
--- /dev/null
+++ b/regress/sbin/pfctl/pf15.in
@@ -0,0 +1,6 @@
+scrub in on lo0 from any to any no-df
+scrub in on lo0 from any to any min-ttl 25
+scrub in on lo0 from any to any max-mss 224
+scrub out on lo1 from any to 10.0.0.1 no-df max-mss 224
+scrub in on lo0 from any to any max-mss 224
+
diff --git a/regress/sbin/pfctl/pf15.ok b/regress/sbin/pfctl/pf15.ok
new file mode 100644
index 00000000000..4c45728f87e
--- /dev/null
+++ b/regress/sbin/pfctl/pf15.ok
@@ -0,0 +1,5 @@
+@0 scrub in all no-df
+@0 scrub in all min-ttl 25
+@0 scrub in all max-mss 224
+@0 scrub out all no-df max-mss 224
+@0 scrub in all max-mss 224