summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-08-28 12:17:05 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-08-28 12:17:05 +0000
commit2bfaabeb4bbcde09c7f481379268a5acd248fdec (patch)
tree68873ace3e35169d210ffc6325769867e5e628dd /regress/sbin
parent2e5252c49a70e57114f167f79929af87493833e2 (diff)
move '!' from host_list to host: "xhost : '!' host | host;"; ok dhartmei@
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pf8.in2
-rw-r--r--regress/sbin/pfctl/pf8.ok3
3 files changed, 7 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index ede9e881d46..8deecc444b0 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.5 2001/08/25 21:54:26 frantzen Exp $
+# $OpenBSD: Makefile,v 1.6 2001/08/28 12:17:04 markus Exp $
NOMAN=
NOPROG=
-PFTESTS=1 2 3 4 5 6 7
+PFTESTS=1 2 3 4 5 6 7 8
pfail1:
@pfctl -nv -R - < ${.CURDIR}/pfail1.in > /dev/null 2>&1 || \
diff --git a/regress/sbin/pfctl/pf8.in b/regress/sbin/pfctl/pf8.in
new file mode 100644
index 00000000000..fd625c7deaf
--- /dev/null
+++ b/regress/sbin/pfctl/pf8.in
@@ -0,0 +1,2 @@
+extern = "{ ! 10.0.0.0/8, 10.1.2.3 }"
+block out log on rl0 from $extern to any
diff --git a/regress/sbin/pfctl/pf8.ok b/regress/sbin/pfctl/pf8.ok
new file mode 100644
index 00000000000..535f0e03b94
--- /dev/null
+++ b/regress/sbin/pfctl/pf8.ok
@@ -0,0 +1,3 @@
+extern = { ! 10.0.0.0/8, 10.1.2.3 }
+@1 block out log on rl0 from 10.1.2.3 to any
+@1 block out log on rl0 from ! 10.0.0.0/255.0.0.0 to any