diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-04-10 16:42:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-11 10:28:34 -0700 |
commit | 5de3d401b79486b9323e1be30e3a34c2437b8800 (patch) | |
tree | 44ff6cd7b07ecc1ff6c222be99537327d1595b14 /tools/testing/selftests/proc/Makefile | |
parent | proc: do mmput ASAP for /proc/*/map_files (diff) | |
download | linux-dev-5de3d401b79486b9323e1be30e3a34c2437b8800.tar.xz linux-dev-5de3d401b79486b9323e1be30e3a34c2437b8800.zip |
proc: add selftest for last field of /proc/loadavg
Test fork counter formerly known as ->last_pid, the only part of
/proc/loadavg which can be tested.
Testing in init pid namespace is not reliable because of background
activity.
Link: http://lkml.kernel.org/r/20180311152241.GA26247@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/Makefile')
-rw-r--r-- | tools/testing/selftests/proc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/proc/Makefile b/tools/testing/selftests/proc/Makefile index 1a0ce32a9786..d7f70583005d 100644 --- a/tools/testing/selftests/proc/Makefile +++ b/tools/testing/selftests/proc/Makefile @@ -1,6 +1,7 @@ CFLAGS += -Wall -O2 TEST_GEN_PROGS := +TEST_GEN_PROGS += proc-loadavg-001 TEST_GEN_PROGS += proc-self-map-files-001 TEST_GEN_PROGS += proc-self-map-files-002 TEST_GEN_PROGS += proc-self-syscall |