summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timens/Makefile
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2019-11-12 01:27:18 +0000
committerThomas Gleixner <tglx@linutronix.de>2020-01-14 12:21:00 +0100
commit11873de3ce4d2fe289d51932c03b3668cf519186 (patch)
tree35976b953038f40d7c7c4cb1d8e1775af7de6158 /tools/testing/selftests/timens/Makefile
parent61c57676035df29a0a61991f4389e884ba0b68d7 (diff)
selftests/timens: Add a test for timerfd
Check that timerfd_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 on failure: 1..3 not ok 1 clockid: 7 elapsed: 0 not ok 2 clockid: 1 elapsed: 0 not ok 3 clockid: 9 elapsed: 0 Bail out! 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-30-dima@arista.com
Diffstat (limited to 'tools/testing/selftests/timens/Makefile')
-rw-r--r--tools/testing/selftests/timens/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/timens/Makefile b/tools/testing/selftests/timens/Makefile
index 49a9dcc26c3a..293aed6be95e 100644
--- a/tools/testing/selftests/timens/Makefile
+++ b/tools/testing/selftests/timens/Makefile
@@ -1,4 +1,4 @@
-TEST_GEN_PROGS := timens
+TEST_GEN_PROGS := timens timerfd
CFLAGS := -Wall -Werror
LDFLAGS := -lrt