Skip to content

Commit

Permalink
[SPARC] fix the name of signal 19 in sparc arch
Browse files Browse the repository at this point in the history
  • Loading branch information
MinxuanZ committed Aug 9, 2024
1 parent 11b801b commit a3f8edf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion library/std/src/sys/pal/unix/process/process_unix/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,16 @@ fn exitstatus_display_tests() {
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")))]

#[cfg(any(target_arch = "sparc", target_arch = "sparc64"))]
t(0x0137f, "stopped (not terminated) by signal: 19 (SIGCONT)");

#[cfg(not(any(target_arch = "mips",
target_arch = "sparc",
target_arch = "mips64",
target_arch = "sprac64")))]
t(0x0137f, "stopped (not terminated) by signal: 19 (SIGSTOP)");

t(0x0ffff, "continued (WIFCONTINUED)");
}

Expand Down

0 comments on commit a3f8edf

Please sign in to comment.