From 926d7c2962002a4793f37e5df15a6d3a3a7f86d4 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 28 Sep 2022 18:17:35 +0000 Subject: [PATCH] Fix 'warning: stray \ before white space' (#1150) grep 3.8 started detecting overly-escaped regex patterns --- test-builds.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2