From a713b33ec46c625846ed936921307dffdbc39a7c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 17 Apr 2026 11:14:56 +0200 Subject: [PATCH] tests: timeout: increase delay on macOS for forward_sigint_to_child --- tests/by-util/test_timeout.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/by-util/test_timeout.rs b/tests/by-util/test_timeout.rs index d6b0afb11d8..5e24fdb1095 100644 --- a/tests/by-util/test_timeout.rs +++ b/tests/by-util/test_timeout.rs @@ -279,6 +279,9 @@ fn test_forward_sigint_to_child() { "trap 'echo got_int; exit 42' INT; sleep 5", ]) .run_no_wait(); + #[cfg(target_os = "macos")] + cmd.delay(1000); + #[cfg(not(target_os = "macos"))] cmd.delay(100); cmd.kill_with_custom_signal(nix::sys::signal::Signal::SIGINT); cmd.make_assertion()