selftests/bpf: Convert sockmap_basic test to ASSERT_* macros
authorWang Yufen <wangyufen@huawei.com>
Mon, 26 Sep 2022 05:12:01 +0000 (13:12 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 29 Sep 2022 00:33:07 +0000 (17:33 -0700)
commit38e35e1d0cee3432baadfd6900e1d05a3419eda6
treee72d96a9e94c43d668e0b5e9fb91b6145c33ed7a
parentaa55dfd3783f0f8131bead061fb22b0d0d75a078
selftests/bpf: Convert sockmap_basic test to ASSERT_* macros

Convert the selftest to use the preferred ASSERT_* macros instead of the
deprecated CHECK().

Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1664169131-32405-2-git-send-email-wangyufen@huawei.com
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c