add missing sudo
authoranton <anton@openbsd.org>
Tue, 5 Oct 2021 08:08:58 +0000 (08:08 +0000)
committeranton <anton@openbsd.org>
Tue, 5 Oct 2021 08:08:58 +0000 (08:08 +0000)
regress/sys/netinet6/pktinfo_addr/Makefile

index 9c80e47..8aaea3a 100644 (file)
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.3 2016/09/03 15:36:33 vgross Exp $
+# $OpenBSD: Makefile,v 1.4 2021/10/05 08:08:58 anton Exp $
 
-PROG      = runtest
+PROG runtest
 
-REGRESS_TARGETS ?=     run-regress-runtest
+REGRESS_TARGETS+=      run-regress-runtest
+REGRESS_ROOT_TARGETS=  ${REGRESS_TARGETS}
 
 run-regress-runtest: ${PROG}
-       ${SETENV} PROG=${.OBJDIR}/${PROG} SUDO=${SUDO} /bin/ksh ${.CURDIR}/test_wrapper.sh
+       ${SETENV} PROG=${.OBJDIR}/${PROG} SUDO="${SUDO}" /bin/ksh ${.CURDIR}/test_wrapper.sh
 
 .include <bsd.regress.mk>