From eeea9456cfd4c6a5334b5d18cac6f522f419258c Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 19 Jan 2021 22:47:45 +0545 Subject: [PATCH] Adjust regex for SUITE_SCENARIO in acceptance tests --- tests/acceptance/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index 2615c498aee8..a00e29dc7d02 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -473,7 +473,7 @@ function run_behat_tests() { # Match lines that have [someSuite/someName.feature:n] - the part inside the # brackets is the suite, feature and line number of the expected failure. # Else ignore the line. - if [[ "${SUITE_SCENARIO}" =~ \[(\S+\/\S+\.feature:\d+)] ]]; then + if [[ "${SUITE_SCENARIO}" =~ \[([a-zA-Z0-9]+/[a-zA-Z0-9]+\.feature:[0-9]+)] ]]; then SUITE_SCENARIO="${BASH_REMATCH[1]}" else continue