chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ce1a792
)
test suite: gnupg: Do not fail if we have no tty when we fail
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 7 Jan 2018 16:38:24 +0000
(16:38 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 7 Jan 2018 17:24:48 +0000
(17:24 +0000)
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>
tests/tstunt/gpg-locked
patch
|
blob
|
history
diff --git
a/tests/tstunt/gpg-locked
b/tests/tstunt/gpg-locked
index 1b6cc11154e2df1dd7e1d2e47734b25e4c9926a6..f2351b4f103ea7f1e73a2fccb1937980b6bcbb52 100755
(executable)
--- 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