diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-09-05 18:27:20 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-09-05 18:27:20 +0000 |
commit | 70224056ec694fc61921750ff1e8d5e2b4361426 (patch) | |
tree | 51108631c025294e9efbf22cf14bf133a7997da3 /regress/sys/netinet6 | |
parent | 4604f9277a8529dfa1fe1e854d097bfdafa3beac (diff) |
Ignore missing pseudo terminal for ssh when called from cron job.
Diffstat (limited to 'regress/sys/netinet6')
-rw-r--r-- | regress/sys/netinet6/mcast6/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
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: |