Re: [RFC PATCH v3 6/9] selftests: cgroup: Add basic tests for pids controller

From: Waiman Long
Date: Mon Apr 08 2024 - 20:13:02 EST



On 4/8/24 08:04, Muhammad Usama Anjum wrote:
On 4/8/24 5:01 PM, Michal Koutný wrote:
On Mon, Apr 08, 2024 at 04:53:11PM +0500, Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx> wrote:
ksft_test_result_report(tests[i].fn(root), tests[i].name)
$ git grep ksft_test_result_report v6.9-rc3 --
(empty result)

I can't find that helper. Is that in some devel repositories?
Sorry, I always do development on next. So it has been added recently. Try
searching it on next:

git grep ksft_test_result_report next-20240404 --

I don't believe it is a good idea to make this patch having a dependency on another set of patches in -next because the test won't run in a non-next environment. We can always have additional patches later on to modify the tests to use the newly available APIs.

Cheers,
Longman


Michal