The ext4_extents_test suite runs test_split_convert() against three different parameter arrays by listing it three times with KUNIT_CASE_PARAM_WITH_INIT(), which names each case after the function. All three cases are therefore called test_split_convert, so they cannot be told apart in the results.
Use KUNIT_CASE_PARAM_WITH_INIT_UNIQUE() for these entries so that each case is also named for the param_init() function which registers its parameter array, for example test_split_convert-test_convert_initialized_param_init. Signed-off-by: Mark Brown <[email protected]> --- fs/ext4/extents-test.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/ext4/extents-test.c b/fs/ext4/extents-test.c index c3836ecb89f9..5e70542b718b 100644 --- a/fs/ext4/extents-test.c +++ b/fs/ext4/extents-test.c @@ -1043,12 +1043,12 @@ static int test_handle_unwritten_init(struct kunit *test) * https://lore.kernel.org/linux-kselftest/[email protected]/ */ static struct kunit_case extents_test_cases[] = { - KUNIT_CASE_PARAM_WITH_INIT(test_split_convert, kunit_array_gen_params, - test_split_convert_param_init, NULL), - KUNIT_CASE_PARAM_WITH_INIT(test_split_convert, kunit_array_gen_params, - test_convert_initialized_param_init, NULL), - KUNIT_CASE_PARAM_WITH_INIT(test_split_convert, kunit_array_gen_params, - test_handle_unwritten_init, NULL), + KUNIT_CASE_PARAM_WITH_INIT_UNIQUE(test_split_convert, kunit_array_gen_params, + test_split_convert_param_init, NULL), + KUNIT_CASE_PARAM_WITH_INIT_UNIQUE(test_split_convert, kunit_array_gen_params, + test_convert_initialized_param_init, NULL), + KUNIT_CASE_PARAM_WITH_INIT_UNIQUE(test_split_convert, kunit_array_gen_params, + test_handle_unwritten_init, NULL), {} }; -- 2.47.3

