summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/proc/Makefile
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2018-04-11 02:42:23 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-11 20:28:34 +0300
commit5de3d401b79486b9323e1be30e3a34c2437b8800 (patch)
tree44ff6cd7b07ecc1ff6c222be99537327d1595b14 /tools/testing/selftests/proc/Makefile
parentfe079a5e102cc59b6c2b66a41e39c624ce284519 (diff)
downloadlinux-5de3d401b79486b9323e1be30e3a34c2437b8800.tar.xz
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/Makefile1
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