From: Amos Jeffries Date: Wed, 28 Sep 2022 18:17:35 +0000 (+0000) Subject: Fix 'warning: stray \ before white space' (#1150) X-Git-Tag: SQUID_5_8~13 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=926d7c2962002a4793f37e5df15a6d3a3a7f86d4;p=thirdparty%2Fsquid.git Fix 'warning: stray \ before white space' (#1150) grep 3.8 started detecting overly-escaped regex patterns --- diff --git a/test-builds.sh b/test-builds.sh index 8f4ec4d8f2..2f2a5df96e 100755 --- a/test-builds.sh +++ b/test-builds.sh @@ -113,7 +113,7 @@ buildtest() { # with the right parameters. TODO: Make less noisy. grep -E "BUILD" ${log} - errors="^ERROR|\ error:|\ Error\ |No\ such|assertion\ failed|FAIL:|:\ undefined" + errors="^ERROR|[ ]error:|[ ]Error[ ]|No[ ]such|assertion[ ]failed|FAIL:|:[ ]undefined" grep -E "${errors}" ${log} if test $result -eq 0; then