Skip to content

Commit a3f8edf

Browse files
committed
[SPARC] fix the name of signal 19 in sparc arch
1 parent 11b801b commit a3f8edf

File tree

1 file changed

+9
-1
lines changed
  • library/std/src/sys/pal/unix/process/process_unix

1 file changed

+9
-1
lines changed

library/std/src/sys/pal/unix/process/process_unix/tests.rs

+9-1
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,16 @@ fn exitstatus_display_tests() {
2626
if cfg!(target_os = "linux") {
2727
#[cfg(any(target_arch = "mips", target_arch = "mips64"))]
2828
t(0x0137f, "stopped (not terminated) by signal: 19 (SIGPWR)");
29-
#[cfg(not(any(target_arch = "mips", target_arch = "mips64")))]
29+
30+
#[cfg(any(target_arch = "sparc", target_arch = "sparc64"))]
31+
t(0x0137f, "stopped (not terminated) by signal: 19 (SIGCONT)");
32+
33+
#[cfg(not(any(target_arch = "mips",
34+
target_arch = "sparc",
35+
target_arch = "mips64",
36+
target_arch = "sprac64")))]
3037
t(0x0137f, "stopped (not terminated) by signal: 19 (SIGSTOP)");
38+
3139
t(0x0ffff, "continued (WIFCONTINUED)");
3240
}
3341

0 commit comments

Comments
 (0)