summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-07-06 18:21:51 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-07-06 18:21:51 +0000
commit4f23015d08ae2c991a6560c6d70151190bec00b8 (patch)
treec788cfac2e8f6fc213a180c1743eef23d890c7ba
parent85a54eaf34d86c748d387f937ceea6a699d6a65c (diff)
theo doesn't like it.
always use the pfctl in path.
-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