- 13 12月, 2019 1 次提交
-
-
由 Vitaly Kuznetsov 提交于
[ Upstream commit e37f9f139f62deddff90c7298ae3a85026a71067 ] Glibc-2.30 gained gettid() wrapper, selftests fail to compile: lib/assert.c:58:14: error: static declaration of ‘gettid’ follows non-static declaration 58 | static pid_t gettid(void) | ^~~~~~ In file included from /usr/include/unistd.h:1170, from include/test_util.h:18, from lib/assert.c:10: /usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here 34 | extern __pid_t gettid (void) __THROW; | ^~~~~~ Signed-off-by: NVitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NSasha Levin <sashal@kernel.org>
-
- 31 5月, 2018 1 次提交
-
-
由 Shuah Khan (Samsung OSG) 提交于
When kvm 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 skipped to clearly report that the test could not be run. Change it to use ksft_exit_skip() when the test is skipped. In addition, refine test_assert() message to include strerror() string and add explicit check for EACCES to cleary identify when test doesn't run when access is denied to resources required e.g: open /dev/kvm failed, rc: -1 errno: 13 Signed-off-by: NShuah Khan (Samsung OSG) <shuah@kernel.org> Acked-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NShuah Khan (Samsung OSG) <shuah@kernel.org>
-
- 05 4月, 2018 1 次提交
-
-
由 Paolo Bonzini 提交于
Testsuite contributed by Google and cleaned up by myself for inclusion in Linux. Signed-off-by: NKen Hofsass <hofsass@google.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
-