diff options
Diffstat (limited to 'checks/run-gpg')
-rwxr-xr-x | checks/run-gpg | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/checks/run-gpg b/checks/run-gpg index 9a3ffee8f..936ebf76d 100755 --- a/checks/run-gpg +++ b/checks/run-gpg @@ -1,12 +1,18 @@ #!/bin/sh +[ -n "$show_cmds" ] && echo "../g10/gpg --homedir . $*" + if ! ../g10/gpg --homedir . $* 2>err.tmp.$$ ; then echo "(../g10/gpg --homedir . $*) failed" >&2 cat err.tmp.$$ >&2 rm err.tmp.$$ exit 1 fi -grep -v 'gpg: Good signature from' err.tmp.$$ \ - | grep -v 'gpg: Signature made ' || true +fgrep -v -f - err.tmp.$$ <<EOF +gpg: Good signature from +gpg: Signature made +gpg: note: cipher algorithm 3 not found in preferences +gpg: note: cipher algorithm 4 not found in preferences +EOF rm err.tmp.$$ |