selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in bpf_tcp_ca
authorYuran Pereira <yuran.pereira@hotmail.com>
Tue, 21 Nov 2023 00:05:39 +0000 (05:35 +0530)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 21 Nov 2023 18:43:03 +0000 (10:43 -0800)
commitb0e2a0395312f4e53504ae84eeb5902e5518d1d7
treee2b324248b2a501fef66ed7507015deb9fcf31c0
parent57b97ecb40caeb116c22451bbdaaa9a1d12c0b43
selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in bpf_tcp_ca

bpf_tcp_ca 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/GV1PR10MB6563F180C0F2BB4F6CFA5130E8BBA@GV1PR10MB6563.EURPRD10.PROD.OUTLOOK.COM
tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c