From: tb Date: Tue, 29 Mar 2022 19:34:37 +0000 (+0000) Subject: Of the enabled tests only kq-pty-1 needs root, so reduce X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=059ca9562126f6d5ed93fe917766449edab9a697;p=openbsd Of the enabled tests only kq-pty-1 needs root, so reduce REGRESS_ROOT_TARGTES and remove ${SUDO} from kq-pty-2. kq-tun also needs root, but it isn't run. discussed with and ok millert --- diff --git a/regress/sys/kern/kqueue/Makefile b/regress/sys/kern/kqueue/Makefile index e9ad8e3ec6e..1bf9cb0ce01 100644 --- a/regress/sys/kern/kqueue/Makefile +++ b/regress/sys/kern/kqueue/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.29 2022/03/29 19:04:19 millert Exp $ +# $OpenBSD: Makefile,v 1.30 2022/03/29 19:34:37 tb Exp $ PROG= kqueue-test CFLAGS+=-Wall @@ -25,7 +25,7 @@ kq-tun: ${PROG} kq-pty-1: ${PROG} ${SUDO} ./${PROG} -T1 kq-pty-2: ${PROG} - ${SUDO} ./${PROG} -T2 + ./${PROG} -T2 kq-signal: ${PROG} ./${PROG} -s kq-fdpass: ${PROG} @@ -72,7 +72,7 @@ TESTS+= kq-timer REGRESS_TARGETS=${TESTS} # kq-tun broke at some point, apparently from a change in tun routing -REGRESS_ROOT_TARGETS=${REGRESS_TARGETS} +REGRESS_ROOT_TARGETS=kq-pty-1 .PHONY: ${REGRESS_TARGETS} .include