summaryrefslogtreecommitdiff
path: root/tests/tstunt/gpg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tstunt/gpg')
-rwxr-xr-xtests/tstunt/gpg8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/tstunt/gpg b/tests/tstunt/gpg
index 7e12846..4214b4a 100755
--- a/tests/tstunt/gpg
+++ b/tests/tstunt/gpg
@@ -6,14 +6,16 @@ with-lock-ex -w "$DGIT_TEST_GNUPG_GLOBAL_LOCK" \
sh -c '
"$@" 9>&2 2>>"$DGIT_TEST_GNUPG_LOG"
rc=$?
- if [ rc = 0 ]; then exit 0; fi
+ if [ $rc = 0 ]; then exit 0; fi
if [ "x$DGIT_TEST_BYHAND" != x ]; then
- echo >&2 "BYHAND, not catting $DGIT_TEST_GNUPG_LOG"
+ echo >&2 "BYHAND, not dumping $DGIT_TEST_GNUPG_LOG"
else
echo >&2 "########################################"
echo >&2 "$DGIT_TEST_GNUPG_LOG"
- cat >&2 "$DGIT_TEST_GNUPG_LOG"
+ sed '\''s/^/\[gnupg-workarounds] /'\'' >&2 \
+ "$DGIT_TEST_GNUPG_LOG"
echo >&2 "end of $DGIT_TEST_GNUPG_LOG"
+ echo >&2 "########################################"
fi
exit $rc
' x \