diff options
author | Simon McVittie <smcv@debian.org> | 2016-03-31 08:27:32 +0100 |
---|---|---|
committer | Colin Walters (automation) <walters+githubbot@verbum.org> | 2016-03-31 14:22:06 +0000 |
commit | b25ddd29ab8eb56bc1022dd38758e54dc4b2ccbe (patch) | |
tree | f403952e0ce4cfc0853a232b5b0a6ea3b55da437 /tests/test-commit-sign.sh | |
parent | 47fd5c74f1428d4cc02ff0061a4958c4b714e852 (diff) | |
download | ostree-b25ddd29ab8eb56bc1022dd38758e54dc4b2ccbe.tar.gz |
In tests that use gpg, terminate the gpg-agent after testing
Otherwise we leak those processes.
Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #232
Approved by: cgwalters
Diffstat (limited to 'tests/test-commit-sign.sh')
-rwxr-xr-x | tests/test-commit-sign.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-commit-sign.sh b/tests/test-commit-sign.sh index 8d52bcaf..1b153e9a 100755 --- a/tests/test-commit-sign.sh +++ b/tests/test-commit-sign.sh @@ -132,5 +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 echo "ok" |