selftests/bpf: Convert sockmap_ktls test to ASSERT_* macros
authorWang Yufen <wangyufen@huawei.com>
Mon, 26 Sep 2022 05:12:02 +0000 (13:12 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 29 Sep 2022 00:33:21 +0000 (17:33 -0700)
commitd155fcb3fff16410ccd7583f9a16c15ddffeca1e
tree58f7ecd5d585ffc4eaf85db386dd806878c3b417
parent38e35e1d0cee3432baadfd6900e1d05a3419eda6
selftests/bpf: Convert sockmap_ktls 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-3-git-send-email-wangyufen@huawei.com
tools/testing/selftests/bpf/prog_tests/sockmap_ktls.c