]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (kill/decode) mark test as known-fail for inconsistent s390x/QEMU instances
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 13 Apr 2026 00:24:25 +0000 (20:24 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 13 Apr 2026 04:08:31 +0000 (00:08 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/ts/kill/decode

index 12457efbb0c26a939b42f8b33e75dd9b45c3df1c..21879bdb63277f78edfe5739914c48fa5c9d355e 100755 (executable)
@@ -23,7 +23,13 @@ if [ "$TS_USE_SYSTEM_COMMANDS" == "yes" ]; then
        TS_CMD_KILL="$(which kill)"
 fi
 
-ts_skip_qemu_user
+# SIGRTMAX-0 and SIGRTMAX-1 are not usable under QEMU
+is_qemu=$(ts_runs_on_qemu)
+ARCH="$(uname -m)"
+
+if [ "$ARCH" == "s390x" ] || [ "$is_qemu" == "1" ]; then
+                       TS_KNOWN_FAIL="yes"
+fi
 
 ts_check_test_command "$TS_CMD_KILL"
 ts_check_test_command "$TS_HELPER_SIGSTATE"