[LTP] [PATCH 0/8] Add basic time namespace testcases
Cyril Hrubis
chrubis@suse.cz
Thu Mar 5 14:48:26 CET 2020
This is a set of test for the time namespaces that are going to be part
of 5.6 kernel.
Cyril Hrubis (8):
lapi/namespace_constants.h: Add CLONE_NEWTIME
lapi: Add a configure check and fallback for setns
include/tst_timer: Fix normalization
syscalls/sysinfo03: Add time namespace test
syscalls/clock_nanosleep03: Add test for time namespace
syscalls/clock_gettime03: Add basic time namespace test
containers/timens: Add basic error test
syscalls/timerfd04: Add time namespace test
configure.ac | 1 +
include/lapi/namespaces_constants.h | 3 +
include/lapi/setns.h | 20 ++++
include/tst_timer.h | 35 +++---
runtest/containers | 7 ++
runtest/syscalls | 4 +
testcases/kernel/containers/timens/.gitignore | 1 +
testcases/kernel/containers/timens/Makefile | 6 +
testcases/kernel/containers/timens/timens01.c | 75 ++++++++++++
.../kernel/syscalls/clock_gettime/.gitignore | 1 +
.../syscalls/clock_gettime/clock_gettime03.c | 113 ++++++++++++++++++
.../syscalls/clock_nanosleep/.gitignore | 1 +
.../clock_nanosleep/clock_nanosleep03.c | 71 +++++++++++
testcases/kernel/syscalls/sysinfo/.gitignore | 1 +
testcases/kernel/syscalls/sysinfo/sysinfo03.c | 78 ++++++++++++
testcases/kernel/syscalls/timerfd/.gitignore | 1 +
testcases/kernel/syscalls/timerfd/timerfd04.c | 95 +++++++++++++++
17 files changed, 496 insertions(+), 17 deletions(-)
create mode 100644 include/lapi/setns.h
create mode 100644 testcases/kernel/containers/timens/.gitignore
create mode 100644 testcases/kernel/containers/timens/Makefile
create mode 100644 testcases/kernel/containers/timens/timens01.c
create mode 100644 testcases/kernel/syscalls/clock_gettime/clock_gettime03.c
create mode 100644 testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep03.c
create mode 100644 testcases/kernel/syscalls/sysinfo/sysinfo03.c
create mode 100644 testcases/kernel/syscalls/timerfd/timerfd04.c
--
2.23.0
More information about the ltp
mailing list