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