From 38aa286ac6f1e490b6e22ad09043ece9d90d41cc Mon Sep 17 00:00:00 2001 From: Gijs de Jong Date: Fri, 20 Oct 2023 11:19:03 +0200 Subject: [PATCH] Revert run.sh changes --- integration-tests/run.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/integration-tests/run.sh b/integration-tests/run.sh index 92468056cbd..f1f06a118f5 100755 --- a/integration-tests/run.sh +++ b/integration-tests/run.sh @@ -96,9 +96,7 @@ mvn clean package \ echo "Finished validation run!" baseline_warnings="../${project}-${revision}-expected-warnings.txt" -# note: added '*' in the final grep, required in order to get matches in GNU grep 3.11 -# disable sync mechanism, we just want to upload the expected warnings -generated_warnings="$(grep -oP "(?<=^\\Q[WARNING] ${PWD}/\\E).*" "${validation_log_file}" | grep -P '\]*\[')" +generated_warnngs="$(grep -oP "(?<=^\\Q[WARNING] ${PWD}/\\E).*" "${validation_log_file}" | grep -P '\] \[')" # if [ -n "${do_sync}" ]; then echo 'Saving emitted warnings...' echo "${generated_warnings}" > "${baseline_warnings}"