summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@cvs.openbsd.org>2021-10-05 17:42:06 +0000
committerAnton Lindqvist <anton@cvs.openbsd.org>2021-10-05 17:42:06 +0000
commit1eb77a162202ad861269b78b62bfcc77b474cf60 (patch)
treea938a7d64ce56dd0b22194dcfd9fbca7643f0f5f /regress
parent6b3ff1ab2f231506e56e8ddf117bae5f19f505b9 (diff)
add missing sudo
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/ifstated/Makefile13
-rw-r--r--regress/usr.sbin/ldapd/Makefile3
-rw-r--r--regress/usr.sbin/ospf6d/Makefile5
3 files changed, 13 insertions, 8 deletions
diff --git a/regress/usr.sbin/ifstated/Makefile b/regress/usr.sbin/ifstated/Makefile
index 3759eea623f..e97648dc1b0 100644
--- a/regress/usr.sbin/ifstated/Makefile
+++ b/regress/usr.sbin/ifstated/Makefile
@@ -1,12 +1,15 @@
-# $OpenBSD: Makefile,v 1.3 2018/02/05 18:28:15 anton Exp $
+# $OpenBSD: Makefile,v 1.4 2021/10/05 17:40:40 anton Exp $
# Regress tests for ifstated
-REGRESS_TARGETS = run-regress-statemachine run-regress-ifstated
+REGRESS_TARGETS+= statemachine
-run-regress-statemachine:
- ${SUDO} env OBJDIR=${.OBJDIR} sh ${.CURDIR}/statemachine
+REGRESS_TARGETS+= ifstated
+REGRESS_ROOT_TARGETS+= ifstated
-run-regress-ifstated:
+statemachine:
+ env OBJDIR=${.OBJDIR} sh ${.CURDIR}/statemachine
+
+ifstated:
${SUDO} env OBJDIR=${.OBJDIR} sh ${.CURDIR}/ifstated
.include <bsd.regress.mk>
diff --git a/regress/usr.sbin/ldapd/Makefile b/regress/usr.sbin/ldapd/Makefile
index 9e78ac2e8cd..228add365c0 100644
--- a/regress/usr.sbin/ldapd/Makefile
+++ b/regress/usr.sbin/ldapd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2020/01/11 11:40:46 espie Exp $
+# $OpenBSD: Makefile,v 1.11 2021/10/05 17:41:31 anton Exp $
OUT=${.CURDIR}/out
DIT=dc=example,dc=com
@@ -28,6 +28,7 @@ regress:
.endif
REGRESS_TARGETS = connect import perl purge #cpan
+REGRESS_ROOT_TARGETS = ${REGRESS_TARGETS}
bootstrap:
@[ -z "${SUDO}" ] || ${SUDO} true
diff --git a/regress/usr.sbin/ospf6d/Makefile b/regress/usr.sbin/ospf6d/Makefile
index 7577629611d..b37f8b96145 100644
--- a/regress/usr.sbin/ospf6d/Makefile
+++ b/regress/usr.sbin/ospf6d/Makefile
@@ -1,6 +1,7 @@
-# $OpenBSD: Makefile,v 1.2 2020/06/12 13:27:43 denis Exp $
+# $OpenBSD: Makefile,v 1.3 2021/10/05 17:42:05 anton Exp $
-REGRESS_TARGETS = network_statement
+REGRESS_TARGETS= network_statement
+REGRESS_ROOT_TARGETS= ${REGRESS_TARGETS}
OSPF6D ?= /usr/sbin/ospf6d