[MIPS] fix the name of signal 19 in mips · patricklam/verify-rust-std@b75648a (original) (raw)
File tree
1 file changed
lines changed
- std/src/sys/pal/unix/process/process_unix
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -24,6 +24,9 @@ fn exitstatus_display_tests() { | ||
24 | 24 | // The purpose of this test is to test our string formatting, not our understanding of the wait |
25 | 25 | // status magic numbers. So restrict these to Linux. |
26 | 26 | if cfg!(target_os = "linux") { |
27 | +#[cfg(any(target_arch = "mips", target_arch = "mips64"))] | |
28 | +t(0x0137f, "stopped (not terminated) by signal: 19 (SIGPWR)"); | |
29 | +#[cfg(not(any(target_arch = "mips", target_arch = "mips64")))] | |
27 | 30 | t(0x0137f, "stopped (not terminated) by signal: 19 (SIGSTOP)"); |
28 | 31 | t(0x0ffff, "continued (WIFCONTINUED)"); |
29 | 32 | } |