summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/Makefile
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-02-14 10:59:21 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-02-14 10:59:21 +0000
commit0e47b858f9a4c278d7586c254d91b57711dbfb2e (patch)
tree70fd0f5e9658e378185cd75df430836183372276 /regress/sbin/pfctl/Makefile
parent34d6e0ffa12ee534a932d1eb8bff899952066c9a (diff)
test -Dmacro=value
Diffstat (limited to 'regress/sbin/pfctl/Makefile')
-rw-r--r--regress/sbin/pfctl/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 9ee520ba885..843f1083834 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.68 2003/02/03 15:44:52 dhartmei Exp $
+# $OpenBSD: Makefile,v 1.69 2003/02/14 10:59:20 henning Exp $
PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
@@ -10,6 +10,7 @@ PFLOAD+=30 31 32 34 36 38 39 40 44 49
#disabled now due to no altq and table in anchors
#PFLOAD+=33 35 43 48
PFTABLE=1 2 3 4 5 6 7 8 9 10 11 12
+PFOPT=1
.for n in ${PFFAIL}
REGRESS_TARGETS+=pfail${n}
@@ -64,6 +65,15 @@ pfr${n}:
.endfor
+.for n in ${PFOPT}
+REGRESS_TARGETS+=pfopt${n}
+
+pfopt${n}:
+ pfctl -nv -f - `cat ${.CURDIR}/pfopt${n}.opts` \
+ < ${.CURDIR}/pfopt${n}.in | \
+ diff -u ${.CURDIR}/pfopt${n}.ok /dev/stdin
+
+.endfor
.ifdef DO_PFSETUP
.for n in ${PFSETUP}