Re: [PATCH v4 2/2] cgroup: selftests: Add tests for freezer time

From: Chen Ridong
Date: Fri Aug 22 2025 - 21:47:17 EST




On 2025/8/23 2:50, Tiffany Yang wrote:
>> Perhaps we can simply use if (curr != 0) for the condition?
>
>
> Here we have 2 separate conditions because in the case where curr < 0,
> it means that the interface is not available and we should skip this
> test instead of failing it. In the case where curr > 0, the feature is
> not working correctly, and the test should fail as a result.

Thank you for your explanation.
See now.

--
Best regards,
Ridong