selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in vmlinux
authorYuran Pereira <yuran.pereira@hotmail.com>
Tue, 21 Nov 2023 00:10:41 +0000 (05:40 +0530)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 21 Nov 2023 18:45:26 +0000 (10:45 -0800)
commit3ece0e85f679c23d2a5128993846c58a2f5f890e
tree44db270715ffcdfdf3c099a61d5b3c5e0106dd25
parentf125d09b99fc0ee43f865810390f10b8f23a2c98
selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in vmlinux

vmlinux.c uses the `CHECK` calls even though the use of ASSERT_ series
of macros is preferred in the bpf selftests.

This patch replaces all `CHECK` calls for equivalent `ASSERT_`
macro calls.

Signed-off-by: Yuran Pereira <yuran.pereira@hotmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/GV1PR10MB6563ED1023A2A3AEF30BDA5DE8BBA@GV1PR10MB6563.EURPRD10.PROD.OUTLOOK.COM
tools/testing/selftests/bpf/prog_tests/vmlinux.c