From 89b8afb34a970cb6f31f5725f38c2f51203c6a29 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 7 Jan 2018 16:38:24 +0000 Subject: [PATCH] test suite: gnupg: Do not fail if we have no tty when we fail Tolerate failure of the error log reporting arrangement. That way the retry loop is effective even if we don't have a tty. Signed-off-by: Ian Jackson --- tests/tstunt/gpg-locked | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tstunt/gpg-locked b/tests/tstunt/gpg-locked index 1b6cc111..f2351b4f 100755 --- a/tests/tstunt/gpg-locked +++ b/tests/tstunt/gpg-locked @@ -40,7 +40,7 @@ else fi exec >/dev/tty printf "%s\n" "$*" - ' x "GNUPG WRAPPER - TROUBLE - $HOME $GNUPGHOME - FAILED $rc $attempt $stdin_tmp_bytes $*" + ' x "GNUPG WRAPPER - TROUBLE - $HOME $GNUPGHOME - FAILED $rc $attempt $stdin_tmp_bytes $*" ||: sleep 10 fi -- 2.30.2