aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/proc/proc-self-wchan.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2019-03-05 15:50:18 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-05 21:07:21 -0800
commit0338c838367b7993edd1c154789c563c13a3b35e (patch)
tree92f0bfbc9b32104af18abebd4f447f52462b8683 /tools/testing/selftests/proc/proc-self-wchan.c
parentmm,mremap: bail out earlier in mremap_to under map pressure (diff)
downloadlinux-dev-0338c838367b7993edd1c154789c563c13a3b35e.tar.xz
linux-dev-0338c838367b7993edd1c154789c563c13a3b35e.zip
proc: return exit code 4 for skipped tests
Test harness uses 4 for SKIP, not 2. Link: http://lkml.kernel.org/r/20190108193108.GA12259@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/proc-self-wchan.c')
-rw-r--r--tools/testing/selftests/proc/proc-self-wchan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/proc/proc-self-wchan.c b/tools/testing/selftests/proc/proc-self-wchan.c
index a38b2fbaa7ad..b467b98a457d 100644
--- a/tools/testing/selftests/proc/proc-self-wchan.c
+++ b/tools/testing/selftests/proc/proc-self-wchan.c
@@ -27,7 +27,7 @@ int main(void)
fd = open("/proc/self/wchan", O_RDONLY);
if (fd == -1) {
if (errno == ENOENT)
- return 2;
+ return 4;
return 1;
}