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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| config | ||
| proc-loadavg-001.c | ||
| proc-self-map-files-001.c | ||
| proc-self-map-files-002.c | ||
| proc-self-syscall.c | ||
| proc-self-wchan.c | ||
| proc-uptime-001.c | ||
| proc-uptime-002.c | ||
| proc-uptime.h | ||
| read.c | ||