Re: [PATCH 21/24] selftests: memfd: return Kselftest Skip code for skipped tests

2018-05-07 Thread Shuah Khan
On 05/07/2018 12:45 PM, Shuah Khan wrote: > On 05/04/2018 07:52 PM, Mike Kravetz wrote: >> On 05/04/2018 06:13 PM, Shuah Khan (Samsung OSG) wrote: >>> When memfd test is skipped because of unmet dependencies and/or unsupported >>> configuration, it returns non-zero value which is treated as a fail

Re: [PATCH 21/24] selftests: memfd: return Kselftest Skip code for skipped tests

2018-05-07 Thread Shuah Khan
On 05/07/2018 12:45 PM, Shuah Khan wrote: > On 05/04/2018 07:52 PM, Mike Kravetz wrote: >> On 05/04/2018 06:13 PM, Shuah Khan (Samsung OSG) wrote: >>> When memfd test is skipped because of unmet dependencies and/or unsupported >>> configuration, it returns non-zero value which is treated as a fail

Re: [PATCH 21/24] selftests: memfd: return Kselftest Skip code for skipped tests

2018-05-07 Thread Shuah Khan
On 05/04/2018 07:52 PM, Mike Kravetz wrote: > On 05/04/2018 06:13 PM, Shuah Khan (Samsung OSG) wrote: >> When memfd test is skipped because of unmet dependencies and/or unsupported >> configuration, it returns non-zero value which is treated as a fail by the >> Kselftest framework. This leads to

Re: [PATCH 21/24] selftests: memfd: return Kselftest Skip code for skipped tests

2018-05-07 Thread Shuah Khan
On 05/04/2018 07:52 PM, Mike Kravetz wrote: > On 05/04/2018 06:13 PM, Shuah Khan (Samsung OSG) wrote: >> When memfd test is skipped because of unmet dependencies and/or unsupported >> configuration, it returns non-zero value which is treated as a fail by the >> Kselftest framework. This leads to

Re: [PATCH 21/24] selftests: memfd: return Kselftest Skip code for skipped tests

2018-05-04 Thread Mike Kravetz
On 05/04/2018 06:13 PM, Shuah Khan (Samsung OSG) wrote: > When memfd test is skipped because of unmet dependencies and/or unsupported > configuration, it returns non-zero value which is treated as a fail by the > Kselftest framework. This leads to false negative result even when the test > could

Re: [PATCH 21/24] selftests: memfd: return Kselftest Skip code for skipped tests

2018-05-04 Thread Mike Kravetz
On 05/04/2018 06:13 PM, Shuah Khan (Samsung OSG) wrote: > When memfd test is skipped because of unmet dependencies and/or unsupported > configuration, it returns non-zero value which is treated as a fail by the > Kselftest framework. This leads to false negative result even when the test > could

[PATCH 21/24] selftests: memfd: return Kselftest Skip code for skipped tests

2018-05-04 Thread Shuah Khan (Samsung OSG)
When memfd test is skipped because of unmet dependencies and/or unsupported configuration, it returns non-zero value 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

[PATCH 21/24] selftests: memfd: return Kselftest Skip code for skipped tests

2018-05-04 Thread Shuah Khan (Samsung OSG)
When memfd test is skipped because of unmet dependencies and/or unsupported configuration, it returns non-zero value 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