GNU bug report logs - #27555
cygwin surrogate-pair test now fails (since grep-2.22, and no one noticed)

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Sun, 2 Jul 2017 15:58:01 UTC

Severity: minor

Merged with 49983, 51698

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Duncan Roe <duncan_roe <at> optusnet.com.au>
To: eggert <at> cs.ucla.edu, 27555 <at> debbugs.gnu.org
Cc: Duncan Roe <duncan_roe <at> optusnet.com.au>
Subject: bug#27555: cygwin surrogate-pair test now fails
Date: Wed, 24 Nov 2021 12:31:42 +1100
Patch is in the next email. Here is a comparison between surrogate-pair.log
under Linux and Cygwin (only the relevant part of the diff)

*** 145,217 ****
  + case $io_pair in
  ++ cut -c1-6
  ++ uname -s
! + '[' Linux '!=' CYGWIN ']'
! + for opt in ''\'''\''' -i -E -F -iE -iF
! + grep --file=in in
! + compare out in
! + compare_dev_null_ out in
! + test 2 = 2
! + test xout = x/dev/null
! + test xin = x/dev/null
! + return 2
! + case $? in
! + compare_ out in
! + diff -u out in
! + for opt in ''\'''\''' -i -E -F -iE -iF
! + grep --file=in -i in
! + compare out in
! + compare_dev_null_ out in
! + test 2 = 2
! + test xout = x/dev/null
! + test xin = x/dev/null
! + return 2
! + case $? in
! + compare_ out in
! + diff -u out in
! + for opt in ''\'''\''' -i -E -F -iE -iF
! + grep --file=in -E in
! + compare out in
! + compare_dev_null_ out in
! + test 2 = 2
! + test xout = x/dev/null
! + test xin = x/dev/null
! + return 2
! + case $? in
! + compare_ out in
! + diff -u out in
! + for opt in ''\'''\''' -i -E -F -iE -iF
! + grep --file=in -F in
! + compare out in
! + compare_dev_null_ out in
! + test 2 = 2
! + test xout = x/dev/null
! + test xin = x/dev/null
! + return 2
! + case $? in
! + compare_ out in
! + diff -u out in
! + for opt in ''\'''\''' -i -E -F -iE -iF
! + grep --file=in -iE in
! + compare out in
! + compare_dev_null_ out in
! + test 2 = 2
! + test xout = x/dev/null
! + test xin = x/dev/null
! + return 2
! + case $? in
! + compare_ out in
! + diff -u out in
! + for opt in ''\'''\''' -i -E -F -iE -iF
! + grep --file=in -iF in
! + compare out in
! + compare_dev_null_ out in
! + test 2 = 2
! + test xout = x/dev/null
! + test xin = x/dev/null
! + return 2
! + case $? in
! + compare_ out in
! + diff -u out in
  + Exit 0
  + set +e
  + exit 0
--- 123,129 ----
  + case $io_pair in
  ++ cut -c1-6
  ++ uname -s
! + '[' CYGWIN '!=' CYGWIN ']'
  + Exit 0
  + set +e
  + exit 0

Duncan Roe (1):
  tests: make surrogate-pair pass under Cygwin

 NEWS                 | 4 ++++
 tests/surrogate-pair | 2 ++
 2 files changed, 6 insertions(+)

-- 
2.17.5





This bug report was last modified 3 years and 179 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.