mirror-linux/tools/testing/selftests/proc
Alexey Dobriyan 1f5bd05476 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>
2018-04-11 10:28:34 -07:00
..
.gitignore proc: selftests: test /proc/uptime 2018-04-11 10:28:34 -07:00
Makefile proc: selftests: test /proc/uptime 2018-04-11 10:28:34 -07:00
config
proc-loadavg-001.c proc: add selftest for last field of /proc/loadavg 2018-04-11 10:28:34 -07:00
proc-self-map-files-001.c proc: fix /proc/*/map_files lookup some more 2018-04-11 10:28:34 -07:00
proc-self-map-files-002.c proc: fix /proc/*/map_files lookup some more 2018-04-11 10:28:34 -07:00
proc-self-syscall.c
proc-self-wchan.c
proc-uptime-001.c proc: selftests: test /proc/uptime 2018-04-11 10:28:34 -07:00
proc-uptime-002.c proc: selftests: test /proc/uptime 2018-04-11 10:28:34 -07:00
proc-uptime.h proc: selftests: test /proc/uptime 2018-04-11 10:28:34 -07:00
read.c proc: selftests: shotgun testing of read/readdir/readlink/write 2018-04-11 10:28:34 -07:00