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_6_0_1~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=395c3e2aa1bb7809d863c8799bfa3cc79d013587;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 f0e92b8ec7..a4ce904f27 100755 --- a/test-builds.sh +++ b/test-builds.sh @@ -122,7 +122,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