[Top][All Lists]

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

grep branch, master, updated. v2.25-108-gb98d59a

From: Paul Eggert
Subject: grep branch, master, updated. v2.25-108-gb98d59a
Date: Sun, 2 Oct 2016 00:54:15 +0000 (UTC)

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  b98d59aa1a7d2136bbb9b76cc881abffaeb02124 (commit)
      from  f2751efd87c91576fcac1033a5919d363967a838 (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 -----------------------------------------------------------------

commit b98d59aa1a7d2136bbb9b76cc881abffaeb02124
Author: Paul Eggert <address@hidden>
Date:   Sat Oct 1 17:53:45 2016 -0700

    tests/grep-dir: port to Solaris 10
    * tests/grep-dir: Port to Solaris 10 'cat', which
    exits with status 0 even after 'read' fails from a directory.

diff --git a/tests/grep-dir b/tests/grep-dir
index 7f8d6ca..4947512 100755
--- a/tests/grep-dir
+++ b/tests/grep-dir
@@ -6,7 +6,7 @@ mkdir a || framework_failure
 # Lower and upper bound of valid exit status for "grep -f DIR",
 # when reading from empty and nonempty files, respectively.
-if cat a >/dev/null 2>&1; then
+if cat a >acopy 2>&1 && cmp a acopy; then
   l=1 u=1 L=0 U=1
   l=2 u=127 L=2 U=127


Summary of changes:
 tests/grep-dir |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


reply via email to

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