diff options
author | Andrei Vagin <avagin@gmail.com> | 2019-11-12 01:27:23 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-14 12:21:02 +0100 |
commit | a750c7474a5333a76e7278d353c460d26012deb6 (patch) | |
tree | f2469c4e0487f8132ddac6955bc9b182c7ea7c3d /tools/testing/selftests/timens/Makefile | |
parent | selftests/timens: Add a simple perf test for clock_gettime() (diff) | |
download | wireguard-linux-a750c7474a5333a76e7278d353c460d26012deb6.tar.xz wireguard-linux-a750c7474a5333a76e7278d353c460d26012deb6.zip |
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
Diffstat (limited to 'tools/testing/selftests/timens/Makefile')
-rw-r--r-- | tools/testing/selftests/timens/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/timens/Makefile b/tools/testing/selftests/timens/Makefile index 6aefcaccb8f4..e9fb30bd8aeb 100644 --- a/tools/testing/selftests/timens/Makefile +++ b/tools/testing/selftests/timens/Makefile @@ -1,4 +1,4 @@ -TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs +TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec TEST_GEN_PROGS_EXTENDED := gettime_perf CFLAGS := -Wall -Werror -pthread |