]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/084: Fix quote warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 28 Jun 2024 08:04:14 +0000 (13:34 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 20 Aug 2024 20:42:50 +0000 (14:42 -0600)
Fix multiple "Q003 Change outer quotes to avoid escaping inner quotes"
warnings.

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

index a8822923f9b89961ad608f0d32cf5b9d4e78d4db..82938669b0b80d2fd54a6d286f89d34fce0ce97c 100755 (executable)
@@ -78,7 +78,7 @@ def test(config):
             return result, cause
     except RunError:
         result = consts.TEST_FAILED
-        cause = 'Failed to read pid in {}\'s cgroup.procs'.format(CGNAME1)
+        cause = "Failed to read pid in {}'s cgroup.procs".format(CGNAME1)
         return result, cause
 
     #
@@ -106,7 +106,7 @@ def test(config):
             return result, cause
     except RunError:
         result = consts.TEST_FAILED
-        cause = 'Failed to read pid in {}\'s cgroup.procs'.format(CGNAME2)
+        cause = "Failed to read pid in {}'s cgroup.procs".format(CGNAME2)
 
     return result, cause