Skip to content

gvfs-test: Kill /home/test_polkitd.py correctly

Simon McVittie requested to merge wip/smcv/pkill into master

In a current Debian unstable virtual machine, pidof -x doesn't find any processes to kill here. Use pkill instead, with -f to match against the entire command-line, and -e to ask it to be more verbose.


When I tried running the test suite in Debian's autopkgtest-virt-qemu, I found that the test never terminated, because /home/test_polkitd.py was never killed and so its stdout/stderr remained open indefinitely.

@seb128, please could you try this in Ubuntu's test infrastructure? I think Ubuntu is the only distro regularly testing this code path right now (but I want to be able to run the tests locally in autopkgtest-virt-qemu, and eventually ci.debian.net might gain the ability to run gvfs' test suite in autopkgtest-virt-qemu too).

Merge request reports