t/lib-gpg: drop redundant killing of gpg-agent
[gitweb.git] / t / lib-gpg.sh
index d90160eb0b51aa478c2c70c9521a19484e3ffc97..041f10171aeb9c0f49a3f8ce583f41f755919031 100755 (executable)
@@ -61,7 +61,6 @@ then
                        | grep fingerprint: | cut -d" " -f4 | tr -d '\n' > \
                        ${GNUPGHOME}/trustlist.txt &&
                echo " S relax" >>"${GNUPGHOME}/trustlist.txt" &&
-               (gpgconf --kill gpg-agent >/dev/null 2>&1 || : ) &&
                echo hello | gpgsm --homedir "${GNUPGHOME}" >/dev/null \
                        -u committer@example.com -o /dev/null --sign - 2>&1 &&
                test_set_prereq GPGSM