From: Tom Hromatka Date: Wed, 5 Jan 2022 20:22:28 +0000 (-0700) Subject: ftests: Fix syntax errors in test 025 X-Git-Tag: v3.1.0~308^2~2^2~110^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=508dd7680e05684b1a08f04e562b2d9293324341;p=thirdparty%2Flibcgroup.git ftests: Fix syntax errors in test 025 Signed-off-by: Tom Hromatka --- diff --git a/ftests/025-cgset-multiple_cgroups.py b/ftests/025-cgset-multiple_cgroups.py index bc6ce3a2..4742bb6c 100755 --- a/ftests/025-cgset-multiple_cgroups.py +++ b/ftests/025-cgset-multiple_cgroups.py @@ -59,7 +59,7 @@ def test(config): if value != VALUE: result = consts.TEST_FAILED cause = "Expected {} to be set to {} in {}, but received {}".format( - setting, VALUES[i], CGNAME1, value) + SETTING, VALUE, CGNAME1, value) return result, cause value = Cgroup.get(config, cgname=CGNAME2, setting=SETTING, @@ -67,7 +67,7 @@ def test(config): if value != VALUE: result = consts.TEST_FAILED cause = "Expected {} to be set to {} in {}, but received {}".format( - setting, VALUES[i], CGNAME2, value) + SETTING, VALUE, CGNAME2, value) return result, cause return result, cause