]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit367e973c2b02a0efd3790ac729c85d4bf4ba7b9d
tree58f7ecd5d585ffc4eaf85db386dd806878c3b417
parent2f1390e56a6e13f449487787b6df844a4d5b87d0
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