From 8b39edb6183244a6657ceff1e528cf354ddef114 Mon Sep 17 00:00:00 2001 From: hongwei Date: Fri, 9 Jan 2026 14:29:16 +0100 Subject: [PATCH] refactor/(run_all_tests.sh): fix grep pattern quoting for consistency - Change double quotes to single quotes in grep regex pattern - Improve shell script best practices for pattern matching - Ensure consistent quoting style with grep -E flag usage --- run_all_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_all_tests.sh b/run_all_tests.sh index 37ef30a43..894429fe6 100755 --- a/run_all_tests.sh +++ b/run_all_tests.sh @@ -821,7 +821,7 @@ fi recent_lines=$(tail -n 500 "${DETAIL_LOG}" 2>/dev/null || true) # Switch to "Building" phase when Maven starts compiling - if ! $in_building && echo "$recent_lines" | grep -q -E "Compiling|Building.*Open Bank Project" 2>/dev/null; then + if ! $in_building && echo "$recent_lines" | grep -q -E 'Compiling|Building.*Open Bank Project' 2>/dev/null; then phase="Building" in_building=true # Record building phase and update terminal (inline to avoid subshell issues)