We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe9dc6e commit 24588e6Copy full SHA for 24588e6
library/std/src/sys/unix/process/process_unix/tests.rs
@@ -53,5 +53,10 @@ fn test_command_fork_no_unwind() {
53
let status = got.expect("panic unexpectedly propagated");
54
dbg!(status);
55
let signal = status.signal().expect("expected child process to die of signal");
56
- assert!(signal == libc::SIGABRT || signal == libc::SIGILL || signal == libc::SIGTRAP);
+ assert!(
57
+ signal == libc::SIGABRT
58
+ || signal == libc::SIGILL
59
+ || signal == libc::SIGTRAP
60
+ || signal == libc::SIGSEGV
61
+ );
62
}
0 commit comments