Widen regex for killing stray gpg-agent processes
This commit is contained in:
parent
f4ceaed578
commit
7d3139cd7a
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Reference in New Issue