From: guenther Date: Wed, 4 Aug 2010 05:57:21 +0000 (+0000) Subject: tun* interfaces are now automatically destroyed on last close when X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d171320527100902ab36b7c2ddf86eb29b63a677;p=openbsd tun* interfaces are now automatically destroyed on last close when originally created by opening /dev/tun* --- 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