From: Tao Cui Date: Mon, 11 May 2026 06:25:20 +0000 (+0800) Subject: selftests/cgroup: fix misleading debug message in test_cgfreezer_time_child X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=298e7f94fc0350c18801a1cfeb04cd053e78efb5;p=thirdparty%2Fkernel%2Flinux.git selftests/cgroup: fix misleading debug message in test_cgfreezer_time_child The debug message says "Expect ctime <= ptime" when the test actually expects ctime > ptime (child's freeze time should exceed parent's, which is zero). Fix the message to match the actual expectation. Signed-off-by: Tao Cui Signed-off-by: Tejun Heo --- diff --git a/tools/testing/selftests/cgroup/test_freezer.c b/tools/testing/selftests/cgroup/test_freezer.c index 97fae92c8387..ead68542d45e 100644 --- a/tools/testing/selftests/cgroup/test_freezer.c +++ b/tools/testing/selftests/cgroup/test_freezer.c @@ -1353,7 +1353,7 @@ static int test_cgfreezer_time_child(const char *root) } if (ctime <= ptime) { - debug("Expect ctime (%ld) <= ptime (%ld)\n", ctime, ptime); + debug("Expect ctime (%ld) > ptime (%ld)\n", ctime, ptime); goto cleanup; }