mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
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 <cuitao@kylinos.cn> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
5b72759aa0
commit
298e7f94fc
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user