]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/079: Fix quote warning
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 9 Jul 2024 10:19:25 +0000 (15:49 +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/079-sudo-cgcreate_default_systemd_scope.py

index 4b9b7fbe48ec8bae7445ee00b899524de1b0e06a..3156482a65a888f2d1c079bda6ed9781467ebfcf 100755 (executable)
@@ -63,7 +63,7 @@ def test(config):
         Log.log_debug('Cgroup {} has pid {}'.format(SCOPE_CGNAME, pid))
     except RunError:
         result = consts.TEST_FAILED
-        cause = 'Failed to read pid in {}\'s cgroup.procs'.format(SCOPE_CGNAME)
+        cause = "Failed to read pid in {}'s cgroup.procs".format(SCOPE_CGNAME)
         return result, cause
 
     Cgroup.create_and_validate(config, None, CHILD_CGNAME)