grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.3-49-g3f11cfb


From: Jim Meyering
Subject: grep branch, master, updated. v3.3-49-g3f11cfb
Date: Thu, 26 Dec 2019 22:12:37 -0500 (EST)

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  3f11cfb64261d7f38bf3aff57db93dd4c6e901e0 (commit)
      from  8b4600ae3bd95643ab3b288e065a330578dc33ac (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=3f11cfb64261d7f38bf3aff57db93dd4c6e901e0


commit 3f11cfb64261d7f38bf3aff57db93dd4c6e901e0
Author: Jim Meyering <address@hidden>
Date:   Thu Dec 26 18:12:09 2019 -0800

    build: update gnulib to latest; and sync tests/init.sh
    
    * gnulib: update
    * tests/init.sh: Sync from gnulib (this removes the LC_ALL=C setting).

diff --git a/gnulib b/gnulib
index 6bc5c0e..575b0ec 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 6bc5c0e01ba63d0fd8557d26fb468a2e61f129da
+Subproject commit 575b0ecbad2f34d5777f9562eebc2d0c815bfc5c
diff --git a/tests/init.sh b/tests/init.sh
index a0ee8a9..d2c4a79 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -129,6 +129,8 @@ else
 fi
 
 # We require $(...) support unconditionally.
+# We require that the printf built-in work correctly regarding octal escapes;
+# this eliminates /bin/sh on AIX 7.2.
 # We require non-surprising "local" semantics (this eliminates dash).
 # This takes the admittedly draconian step of eliminating dash, because the
 # assignment tab=$(printf '\t') works fine, yet preceding it with "local "
@@ -158,6 +160,12 @@ fi
 #  ? - not ok
 gl_shell_test_script_='
 test $(echo y) = y || exit 1
+LC_ALL=en_US.UTF-8 printf "\\351" 2>/dev/null \
+  | LC_ALL=C tr "\\351" x | LC_ALL=C grep "^x$" > /dev/null \
+  || exit 1
+printf "\\351" 2>/dev/null \
+  | LC_ALL=C tr "\\351" x | LC_ALL=C grep "^x$" > /dev/null \
+  || exit 1
 f_local_() { local v=1; }; f_local_ || exit 1
 f_dash_local_fail_() { local t=$(printf " 1"); }; f_dash_local_fail_
 score_=10
@@ -378,8 +386,6 @@ testdir_prefix_ () { printf gt; }
 # Set up the environment for the test to run in.
 setup_ ()
 {
-  export LC_ALL=C
-
   if test "$VERBOSE" = yes; then
     # Test whether set -x may cause the selected shell to corrupt an
     # application's stderr.  Many do, including zsh-4.3.10 and the /bin/sh

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

Summary of changes:
 gnulib        |  2 +-
 tests/init.sh | 10 ++++++++--
 2 files changed, 9 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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