linux/tools/testing/selftests/timers
Thomas Weißschuh (Schneider Electric) 4fa377c19e selftests: timers: nsleep-lat: Check all calls to clock_nanosleep() and clock_gettime()
Both these functions can fail.

The first calls to those functions are already checked and result in
KSFT_SKIP.

If they start failing afterwards unexpectedly, report a hard error.

Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Acked-by: John Stultz <jstultz@google.com>
Link: https://patch.msgid.link/20260803-auxclock-nanosleep-prep-v2-17-910cbd485390@linutronix.de
2026-08-11 18:11:21 +02:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
adjtick.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00
alarmtimer-suspend.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00
change_skew.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
clocksource-switch.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
freq-step.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
inconsistency-check.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00
leap-a-day.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00
leapcrash.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
Makefile selftests: timers: Partially revert "Remove local NSEC_PER_SEC and USEC_PER_SEC defines" 2026-07-10 09:20:55 +02:00
mqueue-lat.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00
nanosleep.c selftests: timers: nanosleep: Report each test separately 2026-08-11 18:11:21 +02:00
nsleep-lat.c selftests: timers: nsleep-lat: Check all calls to clock_nanosleep() and clock_gettime() 2026-08-11 18:11:21 +02:00
posix_timers.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00
raw_skew.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00
rtcpie.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
set-2038.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00
set-tai.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
set-timer-lat.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00
set-tz.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
settings selftests/timers: Turn off timeout setting 2020-08-20 15:49:28 -06:00
skew_consistency.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
threadtest.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
valid-adjtimex.c selftests: timers: Use clock_name() and constants from clock-helpers.h 2026-08-11 18:11:20 +02:00