From 79c6b9dd3c8df36214b9c418721fd4391e974f78 Mon Sep 17 00:00:00 2001 From: Muhammad Usama Anjum Date: Wed, 11 Sep 2024 20:36:07 +0500 Subject: [PATCH] config: rt-tests: fix MLOCKALL getting set to True When MLOCKALL is set to 'true', the lava job has MLOCKALL becomes true [1] which in turn translates to "True" while job execution [2]. It causes error as the test expects true instead of True. ./pi-stress.sh -D 60s -m True -r false -w hackbench ./pi-stress.sh: 37: True: not found Fix it by using double quotes instead. [1] https://lava.collabora.dev/scheduler/job/15562666/definition#defline43 [2] https://lava.collabora.dev/scheduler/job/15562666#L220 Relates https://github.com/kernelci/kernelci-project/issues/439 Signed-off-by: Muhammad Usama Anjum --- config/runtime/tests/rt-tests.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runtime/tests/rt-tests.jinja2 b/config/runtime/tests/rt-tests.jinja2 index 8e77410e60..1423a392b9 100644 --- a/config/runtime/tests/rt-tests.jinja2 +++ b/config/runtime/tests/rt-tests.jinja2 @@ -25,7 +25,7 @@ PRIORITY: {{ priority|default('98') }} THREADS: {{ threads|default('2') }} {% elif tst_cmd == 'pi-stress' %} - MLOCKALL: {{ mlockall|default('true') }} + MLOCKALL: {{ mlockall|default("true") }} {% elif tst_cmd == 'signaltest' %} PRIORITY: {{ priority|default('98') }} THREADS: {{ threads|default('2') }}