Subject: bug#15953: closed (Re: bug#15953: TEST fail on compiling grep 2.14.56-1e3d)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 25 Nov 2013 16:48:04 +0000

Your bug report

#15953: TEST fail on compiling grep 2.14.56-1e3d

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
15953: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15953
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#15953: TEST fail on compiling grep 2.14.56-1e3d
From: Jim Meyering <[email-masked]>
To: Karl Dubost <[email-masked]>
Cc: [email-masked]
Date: Mon, 25 Nov 2013 08:46:58 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, Nov 22, 2013 at 7:01 AM, Karl Dubost <[email-masked]> wrote:
> Darwin ****.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 i386 MacBookPro7,1 Darwin
> =====================================================================
> Testsuite summary for GNU grep 2.14.56-1e3d
...
> # FAIL:  1
...

Thanks a lot for reporting that test failure.
It was due to unportable use of sed in that test.
Here is the fix:
From 9b5b5e1c4231c577b9e783928979bc4f10e10c5e Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email-masked]>
Date: Mon, 25 Nov 2013 08:43:04 -0800
Subject: [PATCH] tests: port to non-GNU sed

* tests/multibyte-white-space (utf8_space_characters): The generation
of test inputs relied on GNU sed's interpretation of \<, but that is
not portable, and caused spurious test failures.  Adjust the sed regexp
to work on all versions.
Reported by Karl Dubost in http://bugs.gnu.org/15953.
---
 tests/multibyte-white-space | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/multibyte-white-space b/tests/multibyte-white-space
index 16205fa..a5b4e79 100755
--- a/tests/multibyte-white-space
+++ b/tests/multibyte-white-space
@@ -33,7 +33,7 @@ U+000A Line feed:                 0a
 U+0085 Next line:                 85
 '

-utf8_space_characters=$(sed 's/.*://;s/ *\</\\x/g' <<\EOF
+utf8_space_characters=$(sed 's/.*://;s/  */\\x/g' <<\EOF
 U+0009 Horizontal Tab:            09
 U+000B Vertical Tab:              0b
 U+000C Form feed:                 0c
-- 
1.8.5.rc2.6.gc6f1b92

Subject: TEST fail on compiling grep 2.14.56-1e3d
From: Karl Dubost <[email-masked]>
To: [email-masked]
Date: Fri, 22 Nov 2013 10:01:32 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Darwin ****.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 i386 MacBookPro7,1 Darwin

============================================================================
Testsuite summary for GNU grep 2.14.56-1e3d
============================================================================
# TOTAL: 64
# PASS:  48
# SKIP:  13
# XFAIL: 2
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to [email-masked]
============================================================================

-- 
Karl Dubost
http://www.la-grange.net/karl/