From 7bc6c9130b30d2ec3263ea78809d690814eccd3b Mon Sep 17 00:00:00 2001 From: Meinolf Block Date: Tue, 15 Oct 2024 10:58:55 +0200 Subject: [PATCH] Re-introduce a clippy allow in a test --- tests/test_error_channel_error.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_error_channel_error.rs b/tests/test_error_channel_error.rs index 8a8c06b..08e0d70 100644 --- a/tests/test_error_channel_error.rs +++ b/tests/test_error_channel_error.rs @@ -76,6 +76,8 @@ fn controller() { fn parent(panic: bool) { let progpath = std::env::args().next().unwrap(); + // we don't want to wait here, and it's not an issue because this is not a long running program + #[allow(clippy::zombie_processes)] // spawn child and terminate directly, thus destroying the child's stderr Command::new(progpath) .env(CTRL_INDEX, if panic { "child_panic" } else { "child" })