Re: [PATCH] selftests: user: remove user suite

From: Muhammad Usama Anjum
Date: Wed Jul 31 2024 - 01:13:30 EST


On 7/31/24 7:33 AM, Kees Cook wrote:
>
>
> On July 30, 2024 3:36:11 PM PDT, Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:
>> On 7/25/24 08:44, Shuah Khan wrote:
>>> On 7/25/24 05:08, Muhammad Usama Anjum wrote:
>>>> The user test suite has only one test, test_user_copy which loads
>>>> test_user_copy module for testing. But test_user_copy module has already
>>>> been converted to kunit (see fixes). Hence remove the entire suite.
>>>>
>>>> Fixes: cf6219ee889f ("usercopy: Convert test_user_copy to KUnit test")
>>>
>>> Remove fixes tag - this isn't a fix and we don't want this propagating
>>> to stable releases without kunit test for this.
>>>
>>>> Signed-off-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx>
>>>> ---
>>>
>>> Thanks,
>>> -- Shuah
>>>
>>
>> As mentioned in other threads on this conversion to kunit and removal
>> of kselfttest - NACK on this patch.
>>
>> Please don't send me any more of these conversion and removal patches.
>>
>
> I think there is a misunderstanding about these particular patches (for string and usercopy selftests). Those were already converted, as desired, by the maintainer (me) to KUnit. These associated patches are cleaning up the dangling kselftest part of them, and should land (with the Fixes tag, which is aimed at the commit that did the conversion).
Yes, this is misunderstanding and these patches should be taken to remove
dead tests in kselftests as their corresponding test modules have been
moved already. So these patches are fixes.

>
> -Kees
>
>

--
BR,
Muhammad Usama Anjum