summaryrefslogtreecommitdiff
path: root/tests/test-commit-sign.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-commit-sign.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-commit-sign.sh')
-rwxr-xr-xtests/test-commit-sign.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-commit-sign.sh b/tests/test-commit-sign.sh
index 1b153e9a..e469c0f9 100755
--- a/tests/test-commit-sign.sh
+++ b/tests/test-commit-sign.sh
@@ -132,6 +132,6 @@ if ${CMD_PREFIX} ostree --repo=repo show main | grep -o 'Found [[:digit:]] signa
fi
rm -rf repo gnomerepo-files
-gpg-connect-agent --homedir ${test_tmpdir}/gpghome killagent /bye
+libtest_cleanup_gpg
echo "ok"