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