[PATCH] selftests: user: return Kselftest Skip code for skipped tests

2018-06-13 Thread Shuah Khan (Samsung OSG)
When user test is skipped because of unmet dependencies and/or unsupported configuration, it exits with error which is treated as a fail by the Kselftest framework. This leads to false negative result even when the test could not be run. Change it to return kselftest skip code when a test gets

[PATCH] selftests: user: return Kselftest Skip code for skipped tests

2018-06-13 Thread Shuah Khan (Samsung OSG)
When user test is skipped because of unmet dependencies and/or unsupported configuration, it exits with error which is treated as a fail by the Kselftest framework. This leads to false negative result even when the test could not be run. Change it to return kselftest skip code when a test gets