[neon/backports-focal/xdg-desktop-portal/Neon/unstable] tests: tests: Send SIGTERM to dbus-daemon
Simon McVittie
null at kde.org
Wed Jan 13 06:32:43 GMT 2021
Git commit 58f6ea321e0f3bed389462ee0b26478bde571f6e by Simon McVittie.
Committed on 09/09/2020 at 12:01.
Pushed by ash into branch 'Neon/unstable'.
tests: Send SIGTERM to dbus-daemon
There's no real need to kill it with SIGKILL, and in some configurations
there is cleanup that is only performed when allowed to shut down
gracefully.
Signed-off-by: Simon McVittie <smcv at debian.org>
M +1 -1 tests/test-document-fuse.sh
https://invent.kde.org/neon/backports-focal/xdg-desktop-portal/commit/58f6ea321e0f3bed389462ee0b26478bde571f6e
diff --git a/tests/test-document-fuse.sh b/tests/test-document-fuse.sh
index f0013d4..b889cfc 100755
--- a/tests/test-document-fuse.sh
+++ b/tests/test-document-fuse.sh
@@ -49,7 +49,7 @@ export XDG_RUNTIME_DIR=${TEST_DATA_DIR}/runtime
cleanup () {
fusermount -u "$XDG_RUNTIME_DIR/doc" || :
sleep 0.1
- kill -9 "$DBUS_SESSION_BUS_PID"
+ kill "$DBUS_SESSION_BUS_PID"
kill $(jobs -p) &> /dev/null || true
rm -rf "$TEST_DATA_DIR"
}
More information about the Neon-commits
mailing list