From aece4b0381a339bd36faf46cd99789251201be90 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 10 Sep 2025 00:32:02 +0100 Subject: [PATCH] test: do not leave process hanging in test-namespace It is killed when the main test process exists, but still, it will be left hanging while other test cases run, so it's not very clean. Follow-up for 8b5e3be88eeb1bdba50c87cb24d9e6b31e825f38 --- src/test/test-namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test-namespace.c b/src/test/test-namespace.c index 4b12e020e2..79c9431088 100644 --- a/src/test/test-namespace.c +++ b/src/test/test-namespace.c @@ -425,7 +425,7 @@ TEST(namespace_get_leader) { } TEST(detach_mount_namespace_harder) { - _cleanup_(pidref_done) PidRef pid = PIDREF_NULL; + _cleanup_(pidref_done_sigkill_wait) PidRef pid = PIDREF_NULL; _cleanup_close_pair_ int p[2] = EBADF_PAIR; char x = 0; int r;