[igt-dev] [PATCH i-g-t 7/7] runner/runner_tests: change a regex to match case-insensitive

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Tue Oct 24 14:11:10 UTC 2023


From: Mauro Carvalho Chehab <mchehab at kernel.org>

As regular expressions are now case-insensitive, change an
unit test to verify that case-insensitive logic is working
as expected.

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
 runner/runner_tests.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runner/runner_tests.c b/runner/runner_tests.c
index 11ff05bc0e7e..c35668bc8f0e 100644
--- a/runner/runner_tests.c
+++ b/runner/runner_tests.c
@@ -1812,7 +1812,7 @@ igt_main
 
 	igt_subtest_group {
 		const char testlisttext[] = "igt at successtest";
-		const char blocktext[] = "igt at successtest@first";
+		const char blocktext[] = "igt at successTEST@first";
 		struct job_list *list = malloc(sizeof(*list));
 		volatile int dirfd = -1;
 		char dirname[] = "tmpdirXXXXXX";
-- 
2.41.0



More information about the igt-dev mailing list