diff options
author | Dmitry Safonov <dima@arista.com> | 2019-11-12 01:27:20 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-14 12:21:01 +0100 |
commit | 9d1f5a8c9dadad29f72e40a409239d7b71cf3037 (patch) | |
tree | 83c00f19850eda18d2b26e8900f9c6b7eefe4ac6 /tools/testing/selftests/timens/.gitignore | |
parent | selftests/timens: Add a test for clock_nanosleep() (diff) | |
download | wireguard-linux-9d1f5a8c9dadad29f72e40a409239d7b71cf3037.tar.xz wireguard-linux-9d1f5a8c9dadad29f72e40a409239d7b71cf3037.zip |
selftests/timens: Add procfs selftest
Check that /proc/uptime is correct inside a new time namespace.
Output on success:
1..1
ok 1 Passed for /proc/uptime
# Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
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: Andrei Vagin <avagin@gmail.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-32-dima@arista.com
Diffstat (limited to 'tools/testing/selftests/timens/.gitignore')
-rw-r--r-- | tools/testing/selftests/timens/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/timens/.gitignore b/tools/testing/selftests/timens/.gitignore index 9b6c8ddac2c8..94ffdd9cead7 100644 --- a/tools/testing/selftests/timens/.gitignore +++ b/tools/testing/selftests/timens/.gitignore @@ -1,3 +1,4 @@ clock_nanosleep +procfs timens timerfd |