Skip to content

Commit 154f220

Browse files
committed
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
2 parents d379d46 + 2e285e7 commit 154f220

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

t/lib-gpg.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ then
6363
cut -d" " -f4 |
6464
tr -d '\n' >"${GNUPGHOME}/trustlist.txt" &&
6565

66-
echo " S relax" >> ${GNUPGHOME}/trustlist.txt &&
67-
(gpgconf --kill gpg-agent >/dev/null 2>&1 || : ) &&
66+
echo " S relax" >>"${GNUPGHOME}/trustlist.txt" &&
6867
echo hello | gpgsm --homedir "${GNUPGHOME}" >/dev/null \
6968
-u [email protected] -o /dev/null --sign - 2>&1 &&
7069
test_set_prereq GPGSM

0 commit comments

Comments
 (0)