From d171320527100902ab36b7c2ddf86eb29b63a677 Mon Sep 17 00:00:00 2001 From: guenther Date: Wed, 4 Aug 2010 05:57:21 +0000 Subject: [PATCH] tun* interfaces are now automatically destroyed on last close when originally created by opening /dev/tun* --- regress/sys/kern/kqueue/Makefile | 4 +--- 1 file changed, 1 insertion(+), 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 -- 2.20.1