selftests/bpf: shorten subtest names for struct_ops_module test
authorAndrii Nakryiko <andrii@kernel.org>
Tue, 7 May 2024 00:13:35 +0000 (17:13 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 7 May 2024 23:21:59 +0000 (16:21 -0700)
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>
tools/testing/selftests/bpf/prog_tests/test_struct_ops_module.c

index 3785b648c8ad65bb578308ee2b7f5b6f0fe2faa0..29e183a80f49004d35e69bb39df67b5225a6be6e 100644 (file)
@@ -244,13 +244,13 @@ cleanup:
 
 void serial_test_struct_ops_module(void)
 {
-       if (test__start_subtest("test_struct_ops_load"))
+       if (test__start_subtest("struct_ops_load"))
                test_struct_ops_load();
-       if (test__start_subtest("test_struct_ops_not_zeroed"))
+       if (test__start_subtest("struct_ops_not_zeroed"))
                test_struct_ops_not_zeroed();
-       if (test__start_subtest("test_struct_ops_incompatible"))
+       if (test__start_subtest("struct_ops_incompatible"))
                test_struct_ops_incompatible();
-       if (test__start_subtest("test_struct_ops_null_out_cb"))
+       if (test__start_subtest("struct_ops_null_out_cb"))
                test_struct_ops_nulled_out_cb();
        if (test__start_subtest("struct_ops_forgotten_cb"))
                test_struct_ops_forgotten_cb();