From b7bf19fbfda391441d71f9d05ce21f63dea209dc Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Wed, 16 Oct 2024 14:41:32 +0530 Subject: [PATCH] ftests/cgroup: Fix typo in CgroupMount::__init__ Fix the typo of '==' (comparison) to '=' assignment in CgroupMount::__init__. Fixes: 52b196c2f4f3c ("ftests/cgroup: Add support for favordynmods") Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- tests/ftests/cgroup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ftests/cgroup.py b/tests/ftests/cgroup.py index 828e7e3a..ba33d108 100644 --- a/tests/ftests/cgroup.py +++ b/tests/ftests/cgroup.py @@ -43,7 +43,7 @@ class CgroupMount(object): # cgroup v1 will append mount points with favordynmods, # remove it. if self.controller == 'favordynmods': - self.controller == entries[3].split(',')[-2] + self.controller = entries[3].split(',')[-2] if self.controller == 'clone_children': # the cpuset controller may append this option to the end -- 2.47.3