From 450040e0dad4448be6a3e8d330af7d2d943f4773 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Wed, 18 Sep 2024 16:41:57 +1000 Subject: [PATCH] MDEV-34952 main.log_slow test failure on opensuse builder The loose regex for the MDEV-34539 test ended up matching the opensuse in the path in buildbot. Adjust to more complete regex including space, backtick and \n, which becomes much less common as a path name. --- mysql-test/main/log_slow.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/main/log_slow.test b/mysql-test/main/log_slow.test index 9e21f9d3890..8997b95d72c 100644 --- a/mysql-test/main/log_slow.test +++ b/mysql-test/main/log_slow.test @@ -213,7 +213,7 @@ set log_slow_filter=default; set timestamp=default; let SEARCH_FILE=`select @@slow_query_log_file`; -let SEARCH_PATTERN=use.*2; +let SEARCH_PATTERN= use \`a\n.*2; let SEARCH_OUTPUT=matches; source include/search_pattern_in_file.inc;