summaryrefslogtreecommitdiff
path: root/tests/test-remote-gpg-import.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-03-31 13:46:16 -0400
committerColin Walters (automation) <walters+githubbot@verbum.org>2016-03-31 18:43:31 +0000
commitbdf24cdc049b421d6e5a982ee9f25502407dceca (patch)
tree86cf715bedfadce7b1878c76d85d079a37e82847 /tests/test-remote-gpg-import.sh
parent9dafc820241ed6e663ad4093660fc255f549aa26 (diff)
downloadostree-bdf24cdc049b421d6e5a982ee9f25502407dceca.tar.gz
tests: Make failing to kill the GPG agent non-fatal
It's not working for me in `make check` on a RHEL 7 Workstation, apparently because no GPG agent is spawned. I'm guessing this has something to do with the GPG version? The downside of this is we will be less likely to notice if GPG changes again and we start leaking agents like we're in The Matrix Reloaded. But the real solution to that is containers anyways. Closes: #233 Approved by: smcv
Diffstat (limited to 'tests/test-remote-gpg-import.sh')
-rwxr-xr-xtests/test-remote-gpg-import.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-remote-gpg-import.sh b/tests/test-remote-gpg-import.sh
index aa90eb89..8d155f79 100755
--- a/tests/test-remote-gpg-import.sh
+++ b/tests/test-remote-gpg-import.sh
@@ -143,5 +143,5 @@ if ${OSTREE} pull R2:main >/dev/null 2>&1; then
fi
${OSTREE} pull R3:main >/dev/null
-gpg-connect-agent --homedir ${test_tmpdir}/gpghome killagent /bye
+libtest_cleanup_gpg
echo "ok"