]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/088: Fix quote warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 21 Jun 2024 07:41:55 +0000 (13:11 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 20 Aug 2024 20:42:50 +0000 (14:42 -0600)
Fix multiple "Q000 Double quotes found but single quotes preferred"
warnings.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/ftests/088-sudo-cgclassify_systemd_scope.py

index 21fdf221ca20c1a0d99e02328f5046e8e3835044..21f4cdc1246e55591dfb05a9ce410f6dc42ac610 100755 (executable)
@@ -73,7 +73,7 @@ def test(config):
         config.process.create_process_in_cgroup(config, CONTROLLER, CGNAME,
                                                 cgclassify=True, replace_idle=True)
     except RunError as re:
-        if "Failed to find idle_thread task" not in re.stderr:
+        if 'Failed to find idle_thread task' not in re.stderr:
             raise re
     else:
         result = consts.TEST_FAILED
@@ -99,7 +99,7 @@ def test(config):
         config.process.create_process_in_cgroup(config, CONTROLLER, OUT_OF_SCOPE_CGNAME1,
                                                 cgclassify=True, replace_idle=True)
     except RunError as re:
-        if "Failed to find idle_thread task" not in re.stderr:
+        if 'Failed to find idle_thread task' not in re.stderr:
             raise re
     else:
         result = consts.TEST_FAILED
@@ -126,7 +126,7 @@ def test(config):
         config.process.create_process_in_cgroup(config, CONTROLLER, OUT_OF_SCOPE_CGNAME2,
                                                 cgclassify=True, replace_idle=True)
     except RunError as re:
-        if "Failed to find idle_thread task" not in re.stderr:
+        if 'Failed to find idle_thread task' not in re.stderr:
             raise re
     else:
         result = consts.TEST_FAILED