selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in bind_perm
authorYuran Pereira <yuran.pereira@hotmail.com>
Tue, 21 Nov 2023 00:07:43 +0000 (05:37 +0530)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 21 Nov 2023 18:43:03 +0000 (10:43 -0800)
commit3ec1114a97457398077e45b231d502d1cc30439d
tree7b34819126ba133a7f55209e83ecdd32af7cf447
parentb0e2a0395312f4e53504ae84eeb5902e5518d1d7
selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in bind_perm

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