grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.20-77-g8435da9


From: Jim Meyering
Subject: grep branch, master, updated. v2.20-77-g8435da9
Date: Fri, 07 Nov 2014 17:14:32 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  8435da9d8106513acd5c87b74f8a928073f2cd5d (commit)
       via  95dea21fcaa62d8d5efb2afe9d7c1afcd5ec496f (commit)
      from  74c1f309e35d456c48efed5d2193df4f66b67272 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8435da9d8106513acd5c87b74f8a928073f2cd5d


commit 8435da9d8106513acd5c87b74f8a928073f2cd5d
Author: Jim Meyering <address@hidden>
Date:   Fri Nov 7 08:34:42 2014 -0800

    tests: avoid printf+\xHH portability trap
    
    * tests/word-multibyte: Using the bourne shell's printf function
    with strings like "\xHH\xHH" happens to work for most interactive
    shells, but not for dash.  That is not portable.  Use our hex_printf_
    awk wrapper instead. Without this change, this test would fail on
    a Debian system for which /bin/sh is configured to be "dash".

diff --git a/tests/word-multibyte b/tests/word-multibyte
index 2a55406..f2caf97 100755
--- a/tests/word-multibyte
+++ b/tests/word-multibyte
@@ -4,7 +4,7 @@
 
 require_en_utf8_locale_
 
-printf '\xc3\xa1\n' > in || framework_failure_
+hex_printf_ '\xc3\xa1\n' > in || framework_failure_
 LC_ALL=en_US.UTF-8
 export LC_ALL
 

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=95dea21fcaa62d8d5efb2afe9d7c1afcd5ec496f


commit 8435da9d8106513acd5c87b74f8a928073f2cd5d
Author: Jim Meyering <address@hidden>
Date:   Fri Nov 7 08:34:42 2014 -0800

    tests: avoid printf+\xHH portability trap
    
    * tests/word-multibyte: Using the bourne shell's printf function
    with strings like "\xHH\xHH" happens to work for most interactive
    shells, but not for dash.  That is not portable.  Use our hex_printf_
    awk wrapper instead. Without this change, this test would fail on
    a Debian system for which /bin/sh is configured to be "dash".

diff --git a/tests/word-multibyte b/tests/word-multibyte
index 2a55406..f2caf97 100755
--- a/tests/word-multibyte
+++ b/tests/word-multibyte
@@ -4,7 +4,7 @@
 
 require_en_utf8_locale_
 
-printf '\xc3\xa1\n' > in || framework_failure_
+hex_printf_ '\xc3\xa1\n' > in || framework_failure_
 LC_ALL=en_US.UTF-8
 export LC_ALL
 

-----------------------------------------------------------------------

Summary of changes:
 tests/init.cfg              |    8 ++++++++
 tests/multibyte-white-space |   12 ++----------
 tests/word-multibyte        |    2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]