diff options
author | Andrei Vagin <avagin@openvz.org> | 2019-11-12 01:27:21 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-14 12:21:01 +0100 |
commit | d5b0117ddd4949e9ed882b6ef91316719826e8a8 (patch) | |
tree | bf3b32c91cc4a5b567064d7224cfbe6e3cd00e19 /lib/show_mem.c | |
parent | 9d1f5a8c9dadad29f72e40a409239d7b71cf3037 (diff) |
selftests/timens: Add timer offsets test
Check that timer_create() takes into account clock offsets.
Output on success:
1..3
ok 1 clockid=7
ok 2 clockid=1
ok 3 clockid=9
# Pass 3 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
Output with lack of permissions:
1..3
not ok 1 # SKIP need to run as root
Output without support of time namespaces:
1..3
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-33-dima@arista.com
Diffstat (limited to 'lib/show_mem.c')
0 files changed, 0 insertions, 0 deletions