Skip to content

Commit b75648a

Browse files
committed
[MIPS] fix the name of signal 19 in mips
1 parent 7680a3c commit b75648a

File tree

1 file changed

+3
-0
lines changed
  • std/src/sys/pal/unix/process/process_unix

1 file changed

+3
-0
lines changed

Diff for: std/src/sys/pal/unix/process/process_unix/tests.rs

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ fn exitstatus_display_tests() {
2424
// The purpose of this test is to test our string formatting, not our understanding of the wait
2525
// status magic numbers. So restrict these to Linux.
2626
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")))]
2730
t(0x0137f, "stopped (not terminated) by signal: 19 (SIGSTOP)");
2831
t(0x0ffff, "continued (WIFCONTINUED)");
2932
}

0 commit comments

Comments
 (0)