mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-03 02:23:20 +00:00
Old versions of Android generate SIGSEGV from libc::abort
This commit is contained in:
parent
fe9dc6e62a
commit
24588e6b3a
@ -53,5 +53,10 @@ fn test_command_fork_no_unwind() {
|
|||||||
let status = got.expect("panic unexpectedly propagated");
|
let status = got.expect("panic unexpectedly propagated");
|
||||||
dbg!(status);
|
dbg!(status);
|
||||||
let signal = status.signal().expect("expected child process to die of signal");
|
let signal = status.signal().expect("expected child process to die of signal");
|
||||||
assert!(signal == libc::SIGABRT || signal == libc::SIGILL || signal == libc::SIGTRAP);
|
assert!(
|
||||||
|
signal == libc::SIGABRT
|
||||||
|
|| signal == libc::SIGILL
|
||||||
|
|| signal == libc::SIGTRAP
|
||||||
|
|| signal == libc::SIGSEGV
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user