On Fri, Nov 22, 2013 at 7:01 AM, Karl Dubost <[email protected]> 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 protected]> 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
