Widen regex for killing stray gpg-agent processes

This commit is contained in:
Simon McVittie 2016-04-16 23:07:31 +01:00
parent f4ceaed578
commit 7d3139cd7a
1 changed files with 1 additions and 1 deletions

2
debian/rules vendored
View File

@ -28,7 +28,7 @@ override_dh_auto_configure:
override_dh_auto_test:
VERBOSE=1 dh_auto_test
# One test creates multiple GPG homedirs, each with its own agent
pkill --full "gpg-agent --homedir /var/tmp/tap-test\\.[^/]+/repo/tmp/ostree-gpg-[^/]+ " || :
pkill --full "gpg-agent --homedir /var/tmp/tap-test\\.[^/]+/.*" || :
if pgrep lt-ostree || pgrep --full "gpg-agent --homedir /var/tmp/tap-test."; then \
echo "WARNING: daemon processes were leaked"; \
pgrep gpg-agent | xargs --no-run-if-empty ps ww; \