summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-07 16:38:24 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-07 17:24:48 +0000
commit89b8afb34a970cb6f31f5725f38c2f51203c6a29 (patch)
treeac0503cf47cbe5a1005ff8abca203da282164364 /tests
parentce1a7920972a8f72053577660205ec33c792beb0 (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')
-rwxr-xr-xtests/tstunt/gpg-locked2
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