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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=b98d59aa1a7d2136bbb9b76cc881abffaeb02124
commit b98d59aa1a7d2136bbb9b76cc881abffaeb02124
Author: Paul Eggert <[email protected]>
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
else
l=2 u=127 L=2 U=127
-----------------------------------------------------------------------
Summary of changes:
tests/grep-dir | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
grep