diff options
Diffstat (limited to 'regress/sys')
-rw-r--r-- | regress/sys/netinet/mcast/Makefile | 10 | ||||
-rw-r--r-- | regress/sys/netinet6/mcast6/Makefile | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/regress/sys/netinet/mcast/Makefile b/regress/sys/netinet/mcast/Makefile index 6820985f60a..8cec185d44f 100644 --- a/regress/sys/netinet/mcast/Makefile +++ b/regress/sys/netinet/mcast/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2019/09/05 02:44:36 bluhm Exp $ +# $OpenBSD: Makefile,v 1.4 2019/09/05 18:27:19 bluhm Exp $ PROGS = mcsend mcrecv mcroute WARNINGS = Yes @@ -15,15 +15,15 @@ OTHER = ${OTHER_ADDR} TARGET = ${TARGET_ADDR} GROUP_LOCAL = 224.0.0.123 -REGRESS_SETUP_ONCE = setup-sudo -setup-sudo: - ${SUDO} true -.if ! empty(REMOTE_SSH) +.if make (regress) || make (all) +.BEGIN: +.if ! empty (REMOTE_SSH) ssh -t ${REMOTE_SSH} ${SUDO} true .endif .if ! empty(TARGET_SSH) ssh -t ${TARGET_SSH} ${SUDO} true .endif +.endif REGRESS_TARGETS += run-localhost run-localhost: diff --git a/regress/sys/netinet6/mcast6/Makefile b/regress/sys/netinet6/mcast6/Makefile index e6a10a26950..5cd03317129 100644 --- a/regress/sys/netinet6/mcast6/Makefile +++ b/regress/sys/netinet6/mcast6/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2019/09/05 02:44:36 bluhm Exp $ +# $OpenBSD: Makefile,v 1.3 2019/09/05 18:27:19 bluhm Exp $ PROGS = mc6send mc6recv mc6route WARNINGS = Yes @@ -19,15 +19,15 @@ GROUP_LOCAL = ff02::123 # due to wrong scope id. This has to be investigated. REGRESS_EXPECTED_FAILURES = run-localhost-local -REGRESS_SETUP_ONCE = setup-sudo -setup-sudo: - ${SUDO} true -.if ! empty(REMOTE_SSH) +.if make (regress) || make (all) +.BEGIN: +.if ! empty (REMOTE_SSH) ssh -t ${REMOTE_SSH} ${SUDO} true .endif .if ! empty(TARGET_SSH) ssh -t ${TARGET_SSH} ${SUDO} true .endif +.endif REGRESS_TARGETS += run-localhost run-localhost: |