]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit535b1e8eeca3ad99a437e5d282edb3dab4024b13
treeb712f55c57e329eb7744ffb67ed3d1845eb0a255
parent8149b5b674538a97737a316445327801ddea63b5
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