selftests: kselftest framework: change skip exit code to 0
authorShuah Khan <shuahkh@osg.samsung.com>
Sat, 19 Aug 2017 02:51:05 +0000 (20:51 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 25 Aug 2017 16:02:00 +0000 (10:02 -0600)
commit11867a77eb854248a1e7a1b4e8ba58aadadd7701
tree9be41a22704e0d7148a8395a7258abb57cf57f6d
parent8f14e26b63b1b6c7c681409e9db1bbf054e00b32
selftests: kselftest framework: change skip exit code to 0

When a test is skipped, instead of using a special exit code of 4, treat
it as pass condition and use exit code of 0. It makes sense to treat skip
as pass since the test couldn't be run as opposed to a failed test.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/kselftest.h