Skip to content

Commit

Permalink
[MIPS] fix the name of signal 19 in mips
Browse files Browse the repository at this point in the history
  • Loading branch information
minxuanz committed Aug 9, 2024
1 parent 7680a3c commit b75648a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions std/src/sys/pal/unix/process/process_unix/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ fn exitstatus_display_tests() {
// The purpose of this test is to test our string formatting, not our understanding of the wait
// status magic numbers. So restrict these to Linux.
if cfg!(target_os = "linux") {
#[cfg(any(target_arch = "mips", target_arch = "mips64"))]
t(0x0137f, "stopped (not terminated) by signal: 19 (SIGPWR)");
#[cfg(not(any(target_arch = "mips", target_arch = "mips64")))]
t(0x0137f, "stopped (not terminated) by signal: 19 (SIGSTOP)");
t(0x0ffff, "continued (WIFCONTINUED)");
}
Expand Down

0 comments on commit b75648a

Please sign in to comment.