From 4ac7e87c7ca53baac4c4fec716d8e89977099cf3 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 4 Aug 2015 09:03:01 -0700 Subject: [PATCH] std: Ignore test_process_mask on OSX The investigation into #14232 discovered that it's possible that signal delivery to a newly spawned process is racy on OSX. This test has been failing spuriously on the OSX bots for some time now, so ignore it as we don't currently know a solution and it looks like it may be out of our control. --- src/libstd/sys/unix/process.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libstd/sys/unix/process.rs b/src/libstd/sys/unix/process.rs index cc78dd4e5ef..fb8d40d613a 100644 --- a/src/libstd/sys/unix/process.rs +++ b/src/libstd/sys/unix/process.rs @@ -463,7 +463,11 @@ mod tests { return 0; } + // See #14232 for more information, but it appears that signal delivery to a + // newly spawned process may just be raced in the OSX, so to prevent this + // test from being flaky we ignore it on OSX. #[test] + #[cfg_attr(target_os = "macos", ignore)] fn test_process_mask() { unsafe { // Test to make sure that a signal mask does not get inherited.