summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-08-04 05:57:22 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-08-04 05:57:22 +0000
commit6ffcfa1d9047b1f465b1635475db626d0b95c9fd (patch)
treef5b992651f93dd30a3bf07ee7ac579ca6bb59c87
parent7f0004544b294ce5dfe81fd7e25f583449681b6b (diff)
tun* interfaces are now automatically destroyed on last close when
originally created by opening /dev/tun*
-rw-r--r--regress/sys/kern/kqueue/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/regress/sys/kern/kqueue/Makefile b/regress/sys/kern/kqueue/Makefile
index 2ca43602648..4a14ae54331 100644
--- a/regress/sys/kern/kqueue/Makefile
+++ b/regress/sys/kern/kqueue/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2004/12/29 04:39:17 david Exp $
+# $OpenBSD: Makefile,v 1.14 2010/08/04 05:57:21 guenther Exp $
PROG= kqueue-test
CFLAGS+=-Wall
@@ -20,8 +20,6 @@ kq-tun: ${PROG}
@EVENT_SHOW_METHOD=yes EVENT_NOPOLL=yes EVENT_NOSELECT=yes ${SUDO} ./${PROG} -t
@EVENT_SHOW_METHOD=yes EVENT_NOPOLL=yes EVENT_NOKQUEUE=yes ${SUDO} ./${PROG} -t
@EVENT_SHOW_METHOD=yes EVENT_NOSELECT=yes EVENT_NOKQUEUE=yes ${SUDO} ./${PROG} -t
- @-${SUDO} ifconfig tun98 destroy
- @-${SUDO} ifconfig tun99 destroy
@-${SUDO} rm -f /dev/tun98 /dev/tun99
kq-pty: ${PROG}
${SUDO} ./${PROG} -T