diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-04-10 16:43:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-11 10:28:34 -0700 |
commit | 1f5bd0547654ada423b184e22f320d76c0fac49e (patch) | |
tree | 0d305b2d1f713af5bf4b9b534cb253183a58e716 /tools/testing/selftests/proc/.gitignore | |
parent | 4f1134370a29a5f2d0f4b4be4c5e2fddd38f0f9d (diff) | |
download | lwn-1f5bd0547654ada423b184e22f320d76c0fac49e.tar.gz lwn-1f5bd0547654ada423b184e22f320d76c0fac49e.zip |
proc: selftests: test /proc/uptime
The only tests I could come up with for /proc/uptime are:
- test that values increase monotonically for 1 second,
- bounce around CPUs and test the same thing.
Avoid glibc like plague for affinity given patches like this:
https://marc.info/?l=linux-kernel&m=152130031912594&w=4
Link: http://lkml.kernel.org/r/20180317165235.GB3445@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/proc/.gitignore')
-rw-r--r-- | tools/testing/selftests/proc/.gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/proc/.gitignore b/tools/testing/selftests/proc/.gitignore index 5627df81ade9..6c16f77c722c 100644 --- a/tools/testing/selftests/proc/.gitignore +++ b/tools/testing/selftests/proc/.gitignore @@ -3,4 +3,6 @@ /proc-self-map-files-002 /proc-self-syscall /proc-self-wchan +/proc-uptime-001 +/proc-uptime-002 /read |