Old versions of Android generate SIGSEGV from libc::abort
This commit is contained in:
parent
fe9dc6e62a
commit
24588e6b3a
1 changed files with 6 additions and 1 deletions
|
|
@ -53,5 +53,10 @@ fn test_command_fork_no_unwind() {
|
|||
let status = got.expect("panic unexpectedly propagated");
|
||||
dbg!(status);
|
||||
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…
Add table
Add a link
Reference in a new issue