diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-01-07 16:38:24 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-01-07 17:24:48 +0000 |
commit | 89b8afb34a970cb6f31f5725f38c2f51203c6a29 (patch) | |
tree | ac0503cf47cbe5a1005ff8abca203da282164364 /tests/tstunt | |
parent | ce1a7920972a8f72053577660205ec33c792beb0 (diff) |
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 <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tstunt')
-rwxr-xr-x | tests/tstunt/gpg-locked | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tstunt/gpg-locked b/tests/tstunt/gpg-locked index 1b6cc11..f2351b4 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 |