aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/vDSO/Makefile
diff options
context:
space:
mode:
authorVincenzo Frascino <vincenzo.frascino@arm.com>2022-01-31 11:34:05 +0000
committerShuah Khan <skhan@linuxfoundation.org>2022-01-31 10:35:14 -0700
commitec049891b2dc16591813eacaddc476b3d27c8c14 (patch)
tree12137b5ea9af3ce29834c1aa0392690d66ac5e1c /tools/testing/selftests/vDSO/Makefile
parentselftests: skip mincore.check_file_mmap when fs lacks needed support (diff)
downloadlinux-dev-ec049891b2dc16591813eacaddc476b3d27c8c14.tar.xz
linux-dev-ec049891b2dc16591813eacaddc476b3d27c8c14.zip
kselftest: Fix vdso_test_abi return status
vdso_test_abi contains a batch of tests that verify the validity of the vDSO ABI. When a vDSO symbol is not found the relevant test is skipped reporting KSFT_SKIP. All the tests return values are then added in a single variable which is checked to verify failures. This approach can have side effects which result in reporting the wrong kselftest exit status. Fix vdso_test_abi verifying the return code of each test separately. Cc: Shuah Khan <shuah@kernel.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Reported-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/vDSO/Makefile')
0 files changed, 0 insertions, 0 deletions