mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-10 07:44:35 -04:00
In the cleanup() function used after each unit test exits, we kill the dbus daemon process and remove the temporary test directory. However, on an Endless Mini the daemon doesn't always exit properly before we try to remove the test directory, leading to an error like: rm: cannot remove '/var/tmp/test-flatpak-AlmZul/runtime/.dbus-proxy': Device or resource busy which causes some of the tests to fail with e.g.: ERROR: tests/test-bundle.sh - exited with status 1 I don't think this is specific to the Mini or to ARM computers; it could probably happen on any slow computer. So this commit uses "kill -9" instead of just "kill" to make sure the daemon exits. Closes: #1642 Approved by: alexlarsson