diff mbox series

[contrib] : Do not escape "=".

Message ID CAFULd4bWXQUSNHZt1Xfkvbg8nBb+_XvP_jf-tzGn5JjoBVEmUg@mail.gmail.com
State New
Headers show
Series [contrib] : Do not escape "=". | expand

Commit Message

Uros Bizjak Aug. 13, 2019, 8:55 a.m. UTC
Attached patch fixes the following gawk-5.0.1 warning:

gawk: cmd. line:36: warning: regexp escape sequence `\=' is not a
known regexp operator

2019-08-13  Uros Bizjak  <ubizjak@gmail.com>

    * test_summary: Do not escape "=".

Tested by building mail-report.log with gawk-5.0.1 and gawk-4.2.1.

OK for mainline?

Uros.

Comments

Jeff Law Aug. 13, 2019, 3:08 p.m. UTC | #1
On 8/13/19 2:55 AM, Uros Bizjak wrote:
> Attached patch fixes the following gawk-5.0.1 warning:
> 
> gawk: cmd. line:36: warning: regexp escape sequence `\=' is not a
> known regexp operator
> 
> 2019-08-13  Uros Bizjak  <ubizjak@gmail.com>
> 
>     * test_summary: Do not escape "=".
> 
> Tested by building mail-report.log with gawk-5.0.1 and gawk-4.2.1.
> 
> OK for mainline?
> 
> Uros.
> 
OK
jeff
diff mbox series

Patch

diff --git a/contrib/test_summary b/contrib/test_summary
index 3560a64c4f19..5760b053ec27 100755
--- a/contrib/test_summary
+++ b/contrib/test_summary
@@ -127,7 +127,7 @@  NR == 1 {
   if (lang == "") lang = " "$2" "; else lang = " ";
 }
 $2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", version); gsub(/\r$/, "", version); $0 = save; }
-/\===.*Summary/ { print ""; print; blanks=1; }
+/===.*Summary/ { print ""; print; blanks=1; }
 /tests ===/ || /^(Target|Host|Native)/ || $2 == "version" { print; blanks=1; }
 /^(XPASS|FAIL|UNRESOLVED|WARNING|ERROR|# of )/ { sub ("\r", ""); print; }
 /^using:/ { print ""; print; print ""; }