selftests: vDSO: improve getrandom and chacha error messages
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 7 Oct 2024 21:45:58 +0000 (23:45 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 8 Oct 2024 21:21:52 +0000 (15:21 -0600)
commit3953a1d1375247eafeeee24e69abb622f6acbd79
treed9a1b531137f7c4180967d32d47f44da7b9a79d6
parentfe6305cbc753766191da33b819f82f88986d3ca1
selftests: vDSO: improve getrandom and chacha error messages

Improve the error and skip condition messages to let the developer know
precisely where a test has failed. Also make better use of the ksft api
for this.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/vDSO/vdso_test_chacha.c
tools/testing/selftests/vDSO/vdso_test_getrandom.c