proc: test /proc/self/wchan
This patch starts testing /proc. Many more tests to come (I promise). Read from /proc/self/wchan should always return "0" as current is in TASK_RUNNING state while reading /proc/self/wchan. Link: http://lkml.kernel.org/r/20180226212006.GA742@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>
This commit is contained in:

committed by
Linus Torvalds

parent
835b94e05c
commit
9cd6565558
1
tools/testing/selftests/proc/config
Normal file
1
tools/testing/selftests/proc/config
Normal file
@@ -0,0 +1 @@
|
||||
CONFIG_PROC_FS=y
|
Reference in New Issue
Block a user