summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-02-09 04:44:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-09 04:44:51 (GMT)
commit154f22014b6985f9c5935cdf548311828cfcf638 (patch)
tree4aab095bf12092c841b997f12d8a663c446f93c1 /t
parentd379d464193224efb4de30ccd45f72ab193f8e31 (diff)
parent2e285e7803217c56f5e86a0abdec4b7fa8bc1058 (diff)
downloadgit-154f22014b6985f9c5935cdf548311828cfcf638.zip
git-154f22014b6985f9c5935cdf548311828cfcf638.tar.gz
git-154f22014b6985f9c5935cdf548311828cfcf638.tar.bz2
Merge branch 'tz/gpg-test-fix'
Test fix. * tz/gpg-test-fix: t/lib-gpg: drop redundant killing of gpg-agent t/lib-gpg: quote path to ${GNUPGHOME}/trustlist.txt
Diffstat (limited to 't')
-rwxr-xr-xt/lib-gpg.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh
index f1277be..8d28652 100755
--- a/t/lib-gpg.sh
+++ b/t/lib-gpg.sh
@@ -63,8 +63,7 @@ then
cut -d" " -f4 |
tr -d '\n' >"${GNUPGHOME}/trustlist.txt" &&
- echo " S relax" >> ${GNUPGHOME}/trustlist.txt &&
- (gpgconf --kill gpg-agent >/dev/null 2>&1 || : ) &&
+ echo " S relax" >>"${GNUPGHOME}/trustlist.txt" &&
echo hello | gpgsm --homedir "${GNUPGHOME}" >/dev/null \
-u committer@example.com -o /dev/null --sign - 2>&1 &&
test_set_prereq GPGSM