]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/078: Fix quote warning
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 10 Jul 2024 10:20:16 +0000 (15:50 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 20 Aug 2024 20:42:50 +0000 (14:42 -0600)
Fix "Q003 Change outer quotes to avoid escaping inner quotes" warning.

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

index 14d98372ced15c65456cc1c395a2ad5a4817e43f..ac6cc3c0c4c6c273745e34ed87d42228bbb19689 100755 (executable)
@@ -64,7 +64,7 @@ def test(config):
         Log.log_debug('Cgroup {} has pid {}'.format(CGNAME, pid))
     except RunError:
         result = consts.TEST_FAILED
-        cause = 'Failed to read pid in {}\'s cgroup.procs'.format(CGNAME)
+        cause = "Failed to read pid in {}'s cgroup.procs".format(CGNAME)
         return result, cause
 
     # Since the scope was created without being made the default, we must specify