[pcre-dev] [Bug 1163] New: RunGrepTest fails if PCREGREP_COL…

Top Page
Delete this message
Author: John Purnell
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1163] New: RunGrepTest fails if PCREGREP_COLOR is anything but '1; 31'
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1163
           Summary: RunGrepTest fails if PCREGREP_COLOR is anything but
                    '1;31'
           Product: PCRE
           Version: 8.13
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: low
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: jp101@???
                CC: pcre-dev@???



To replicate the bug in bash:

export PCREGREP_COLOR='1;32' && RunGrepTest

to prove the issue:

unset -v PCREGREP_COLOR && RunGrepTest

To fix:

In RunGrepTest at line 10 add:

unset -v PCREGREP_COLOR # or PCREGREP_COLOR='1;31'; export PCREGREP_COLOR


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email