bug#49983: grep-3.6.27-20b4 tests fail on Cygwin

2021-08-14 Thread Jim Meyering
On Wed, Aug 11, 2021 at 9:36 AM Paul Eggert wrote: > > On 8/11/21 12:20 AM, Gary Johnson wrote: > > The > > main thing I'm lacking is time. > > I *quite* understand. > > Unfortunately I don't use Cygwin so can't help much on Cygwin-specific > stuff. Thanks for reporting and investigating. While

bug#49983: grep-3.6.27-20b4 tests fail on Cygwin

2021-08-11 Thread Paul Eggert
On 8/11/21 12:20 AM, Gary Johnson wrote: The main thing I'm lacking is time. I *quite* understand. Unfortunately I don't use Cygwin so can't help much on Cygwin-specific stuff.

bug#49983: grep-3.6.27-20b4 tests fail on Cygwin

2021-08-11 Thread Gary Johnson
On 2021-08-10, Paul Eggert wrote: > On 8/10/21 4:21 PM, Gary Johnson wrote: > >$ src/grep --file=in in >out > >$ echo $? > >1 > >$ od -t o1 in > >000 360 220 220 205 012 > >005 > >$ cmp in out > >cmp: EOF on out which is empty > > OK, so grep is simply not finding a match. > > At this poi

bug#49983: grep-3.6.27-20b4 tests fail on Cygwin

2021-08-10 Thread Paul Eggert
On 8/10/21 4:21 PM, Gary Johnson wrote: $ src/grep --file=in in >out $ echo $? 1 $ od -t o1 in 000 360 220 220 205 012 005 $ cmp in out cmp: EOF on out which is empty OK, so grep is simply not finding a match. At this point it's probably time to fire up a debugger and see why grep's m

bug#49983: grep-3.6.27-20b4 tests fail on Cygwin

2021-08-10 Thread Gary Johnson
On 2021-08-10, Paul Eggert wrote: > Here is a shell transcript on my platform. Can you compare it to what > happens on your platform? I am guessing that the first 'echo $?' > outputs something different but would like to know what it is. Plus > any other differences. > > $ export LC_ALL=en_US.UTF-

bug#49983: grep-3.6.27-20b4 tests fail on Cygwin

2021-08-10 Thread Paul Eggert
Here is a shell transcript on my platform. Can you compare it to what happens on your platform? I am guessing that the first 'echo $?' outputs something different but would like to know what it is. Plus any other differences. $ export LC_ALL=en_US.UTF-8 $ s_pair=$(printf '\360\220\220\205') $

bug#49983: grep-3.6.27-20b4 tests fail on Cygwin

2021-08-10 Thread Gary Johnson
On 2021-08-10, Paul Eggert wrote: > On 8/10/21 8:54 AM, Gary Johnson wrote: > >The log is pretty big. Would you like it posted here? > > It'd be helpful to see tests/surrogate-pair.log. If it's long perhaps > you could compress it and attach the compressed version to your > email. It's not very

bug#49983: grep-3.6.27-20b4 tests fail on Cygwin

2021-08-10 Thread Paul Eggert
On 8/10/21 8:54 AM, Gary Johnson wrote: The log is pretty big. Would you like it posted here? It'd be helpful to see tests/surrogate-pair.log. If it's long perhaps you could compress it and attach the compressed version to your email.

bug#49983: grep-3.6.27-20b4 tests fail on Cygwin

2021-08-10 Thread Gary Johnson
I built grep-3.6.27-20b4 on a machine running up-to-date Cygwin 3.2.0 and Windows 10 Enterprise Version 10.0.18363 Build 18363. Running "make check" resulted in the following summary. Testsuite summary for GNU gre