linux-stable/tools/testing/selftests/timens
Michael Weiß 716e343f01
selftests/timens: added selftest for /proc/stat btime
Test that btime value of /proc/stat is as expected in the time namespace
using a simple parser to get btime from /proc/stat.

Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de>
Reviewed-by: Andrei Vagin <avagin@gmail.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20201027204258.7869-4-michael.weiss@aisec.fraunhofer.de
2020-11-03 11:05:40 +01:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
clock_nanosleep.c selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00
config
exec.c selftests/timens: Remove duplicated include <time.h> 2020-03-13 13:30:32 -06:00
futex.c selftests/timens: Add a test for futex() 2020-10-20 17:02:57 +02:00
gettime_perf.c selftests/timens: Add a simple perf test for clock_gettime() 2020-01-14 12:21:02 +01:00
log.h
Makefile selftests/timens: Add a test for futex() 2020-10-20 17:02:57 +02:00
procfs.c selftests/timens: added selftest for /proc/stat btime 2020-11-03 11:05:40 +01:00
timens.c selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00
timens.h selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00
timer.c selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00
timerfd.c selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00