diff options
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r-- | regress/test-exec.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index b6169f157..a314a57b4 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: test-exec.sh,v 1.62 2018/03/16 09:06:31 dtucker Exp $ | 1 | # $OpenBSD: test-exec.sh,v 1.63 2018/05/22 00:22:49 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | #SUDO=sudo | 4 | #SUDO=sudo |
@@ -375,7 +375,10 @@ fail () | |||
375 | save_debug_log "FAIL: $@" | 375 | save_debug_log "FAIL: $@" |
376 | RESULT=1 | 376 | RESULT=1 |
377 | echo "$@" | 377 | echo "$@" |
378 | 378 | if test "x$TEST_SSH_FAIL_FATAL" != "x" ; then | |
379 | cleanup | ||
380 | exit $RESULT | ||
381 | fi | ||
379 | } | 382 | } |
380 | 383 | ||
381 | fatal () | 384 | fatal () |