Skip to content

Commit

Permalink
Merge pull request #38317 from owncloud/adjust-regex-for-SUITE_SCENARIO
Browse files Browse the repository at this point in the history
[tests-only] Adjust regex for SUITE_SCENARIO in acceptance tests
  • Loading branch information
phil-davis authored Jan 20, 2021
2 parents b41b5b4 + eeea945 commit 35a5eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/acceptance/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35a5eca

Please sign in to comment.