Widen regex for killing stray gpg-agent processes
This commit is contained in:
1 parent
f4ceaed578
commit
7d3139cd7a
1 file changed
+1
-1
Vendored
+1
-1
@@ -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; \
|
||||
|
||||
Reference in new issue
Block a user