diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2019-03-06 02:50:18 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-06 08:07:21 +0300 |
commit | 0338c838367b7993edd1c154789c563c13a3b35e (patch) | |
tree | 92f0bfbc9b32104af18abebd4f447f52462b8683 /tools/testing/selftests/proc/proc-loadavg-001.c | |
parent | ea2c3f6f5545610ed0bd8afa8a05355b49d817af (diff) | |
download | linux-0338c838367b7993edd1c154789c563c13a3b35e.tar.xz |
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-loadavg-001.c')
-rw-r--r-- | tools/testing/selftests/proc/proc-loadavg-001.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/proc/proc-loadavg-001.c b/tools/testing/selftests/proc/proc-loadavg-001.c index fcff7047000d..471e2aa28077 100644 --- a/tools/testing/selftests/proc/proc-loadavg-001.c +++ b/tools/testing/selftests/proc/proc-loadavg-001.c @@ -30,7 +30,7 @@ int main(void) if (unshare(CLONE_NEWPID) == -1) { if (errno == ENOSYS || errno == EPERM) - return 2; + return 4; return 1; } |