selftests/bpf: Convert tcp_hdr_options test to ASSERT_* macros
authorWang Yufen <wangyufen@huawei.com>
Mon, 26 Sep 2022 05:12:08 +0000 (13:12 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 29 Sep 2022 00:34:04 +0000 (17:34 -0700)
commit3082f8cd4ba32091be82c19c357ddfd300c5a433
treeb712f55c57e329eb7744ffb67ed3d1845eb0a255
parenta0a17296713aea7b3cbc94662c6ffb53a79a3f2c
selftests/bpf: Convert tcp_hdr_options 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-9-git-send-email-wangyufen@huawei.com
tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c