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
- [PATCH v4 0/2] cgroup: Track time in cgroup v2 freezer Tiffany Yang
- [PATCH v4 1/2] cgroup: cgroup.stat.local time accounting Tiffany Yang
- Re: [PATCH v4 1/2] cgroup: cgroup.stat.local time ac... Chen Ridong
- Re: [PATCH v4 1/2] cgroup: cgroup.stat.local tim... Chen Ridong
- Re: [PATCH v4 1/2] cgroup: cgroup.stat.local... Tiffany Yang
- Re: [PATCH v4 1/2] cgroup: cgroup.stat.... Chen Ridong
- [PATCH v4 2/2] cgroup: selftests: Add tests for freezer ... Tiffany Yang
- Re: [PATCH v4 2/2] cgroup: selftests: Add tests for ... Chen Ridong
- Re: [PATCH v4 2/2] cgroup: selftests: Add tests ... Tiffany Yang
- Re: [PATCH v4 2/2] cgroup: selftests: Add te... Chen Ridong
- Re: [PATCH v4 0/2] cgroup: Track time in cgroup v2 freez... Tejun Heo