summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 6663649c8d2..c02c43bae61 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,23 +1,13 @@
-# $OpenBSD: Makefile,v 1.21 2002/07/06 17:08:41 henning Exp $
-
-.include <bsd.obj.mk>
+# $OpenBSD: Makefile,v 1.22 2002/07/06 18:21:50 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
PFFAIL=1 2 3 4 5 6 7 8 9 10 11
-PFDIR=${.CURDIR}/../../../sbin/pfctl/${__objdir}/
-
.for n in ${PFFAIL}
REGRESSTARGETS+=pfail${n}
-.BEGIN:
-.if !exists(${PFDIR}pfctl)
-.undef PFDIR
-
-.endif
-
pfail${n}:
- if ${PFDIR}pfctl -nv -f - < ${.CURDIR}/pfail${n}.in > /dev/null 2>&1 ; then \
+ if pfctl -nv -f - < ${.CURDIR}/pfail${n}.in > /dev/null 2>&1 ; then \
false ; \
fi
@@ -27,7 +17,7 @@ pfail${n}:
REGRESSTARGETS+=pf${n}
pf${n}:
- ${PFDIR}pfctl -nv -f - < ${.CURDIR}/pf${n}.in | \
+ pfctl -nv -f - < ${.CURDIR}/pf${n}.in | \
cmp -s ${.CURDIR}/pf${n}.ok /dev/stdin
.endfor