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 b75648a commit 7c34ebf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion std/src/sys/pal/unix/process/process_unix/tests.rs
Original file line number Diff line number Diff line change
@@ -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)");
}

0 comments on commit 7c34ebf

Please sign in to comment.