linux_dsm_epyc7002/tools/testing/selftests/timens
Andrei Vagin a750c7474a selftests/timens: Check for right timens offsets after fork and exec
Output on success:
 1..1
 ok 1 exec
 # Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0

Output on failure:
 1..1
 not ok 1 36016 16
 Bail out!

Output with lack of permissions:
 1..1
 not ok 1 # SKIP need to run as root

Output without support of time namespaces:
 1..1
 not ok 1 # SKIP Time namespaces are not supported

Co-developed-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191112012724.250792-35-dima@arista.com
2020-01-14 12:21:02 +01:00
..
.gitignore selftests/timens: Check for right timens offsets after fork and exec 2020-01-14 12:21:02 +01:00
clock_nanosleep.c selftests/timens: Add a test for clock_nanosleep() 2020-01-14 12:21:01 +01:00
config
exec.c selftests/timens: Check for right timens offsets after fork and exec 2020-01-14 12:21:02 +01: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: Check for right timens offsets after fork and exec 2020-01-14 12:21:02 +01:00
procfs.c selftests/timens: Add procfs selftest 2020-01-14 12:21:01 +01:00
timens.c
timens.h
timer.c selftests/timens: Add timer offsets test 2020-01-14 12:21:01 +01:00
timerfd.c selftests/timens: Add a test for timerfd 2020-01-14 12:21:00 +01:00