Skip to content

Commit 7b9959b

Browse files
anakryikoMartin KaFai Lau
authored andcommitted
selftests/bpf: shorten subtest names for struct_ops_module test
Drive-by clean up, we shouldn't use meaningless "test_" prefix for subtest names. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20240507001335.1445325-8-andrii@kernel.org Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
1 parent 41df073 commit 7b9959b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tools/testing/selftests/bpf/prog_tests/test_struct_ops_module.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,13 @@ static void test_struct_ops_forgotten_cb(void)
244244

245245
void serial_test_struct_ops_module(void)
246246
{
247-
if (test__start_subtest("test_struct_ops_load"))
247+
if (test__start_subtest("struct_ops_load"))
248248
test_struct_ops_load();
249-
if (test__start_subtest("test_struct_ops_not_zeroed"))
249+
if (test__start_subtest("struct_ops_not_zeroed"))
250250
test_struct_ops_not_zeroed();
251-
if (test__start_subtest("test_struct_ops_incompatible"))
251+
if (test__start_subtest("struct_ops_incompatible"))
252252
test_struct_ops_incompatible();
253-
if (test__start_subtest("test_struct_ops_null_out_cb"))
253+
if (test__start_subtest("struct_ops_null_out_cb"))
254254
test_struct_ops_nulled_out_cb();
255255
if (test__start_subtest("struct_ops_forgotten_cb"))
256256
test_struct_ops_forgotten_cb();

0 commit comments

Comments
 (0)