summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2003-12-06 15:35:39 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2003-12-06 15:35:39 +0000
commit1755a84ff7e143134852f22aad98930a006a8a8e (patch)
tree10343be3d367d599bc1b046bc6662b26f2328f57
parent3930d1f8d89bd1b7605dad6394b4d3c410928df2 (diff)
don't create/destroy interfaces in obj, clean and cleandir
eases source updates from pre-cloning ok henning@
-rw-r--r--regress/sbin/pfctl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index dabe7cca87c..c6c46f46f84 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.165 2003/12/05 16:55:40 henning Exp $
+# $OpenBSD: Makefile,v 1.166 2003/12/06 15:35:38 sturm Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -29,6 +29,7 @@ PFALTQ=1 2 3 4 5 6 7 8 9 10 11 12 13 14
PFTABLE=1 2 3 4 5 6 7 8 9 10 11 12 13
PFOPT=1 2 3 4 5
+.ifmake !obj && !clean && !cleandir
.BEGIN:
-${SUDO} ifconfig lo1000000 create
-${SUDO} ifconfig tun1000000 create
@@ -39,6 +40,7 @@ PFOPT=1 2 3 4 5
# destroy on tun does not work yet
# ${SUDO} ifconfig tun1000000 destroy
# ${SUDO} ifconfig tun1000001 destroy
+.endif
.for n in ${PFFAIL}
PFAIL_TARGETS+=pfail${n}