]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/futex: Skip tests if shmget unsupported
authorCarlos Llamas <cmllamas@google.com>
Thu, 16 Oct 2025 16:19:41 +0000 (16:19 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Nov 2025 13:39:36 +0000 (14:39 +0100)
commit275498b88104b36a0f7f913da53dc81c1daed277
tree044ea76d8ae5ddb11da8e09c00d6c587a734a10e
parent9407d138b8d5eff1cabceb4b3176f03191871479
selftests/futex: Skip tests if shmget unsupported

On systems where the shmget() syscall is not supported, tests like
anon_page and shared_waitv will fail. Skip these tests in such cases to
allow the rest of the test suite to run.

Signed-off-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251016162009.3270784-1-cmllamas@google.com
tools/testing/selftests/futex/functional/futex_wait.c
tools/testing/selftests/futex/functional/futex_waitv.c