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.
This commit is contained in:
Alex Crichton 2015-08-04 09:03:01 -07:00
parent 38517944f0
commit 4ac7e87c7c

View File

@ -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.