grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.8-17-g9d60e79


From: Jim Meyering
Subject: grep branch, master, updated. v2.8-17-g9d60e79
Date: Wed, 08 Jun 2011 09:35:39 +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  9d60e79a26787b742a1f075ac96195b111f68af0 (commit)
      from  126cc2ea4d8579f97a8d1071b37ff638c22c2b36 (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=9d60e79a26787b742a1f075ac96195b111f68af0


commit 9d60e79a26787b742a1f075ac96195b111f68af0
Author: Jim Meyering <address@hidden>
Date:   Wed Jun 8 11:34:04 2011 +0200

    tests: don't ignore sjis-mb test failure
    
    I made changes that caused grep to segfault during "make check" --
    as seen in dmesg output -- yet no test failed(!), and there was no
    trace of the segfault in the logs.
    * tests/sjis-mb (test_grep_reject): Ensure that output is empty.
    Don't ignore test failure.

diff --git a/tests/sjis-mb b/tests/sjis-mb
index 0ccbc8d..07c9a9a 100644
--- a/tests/sjis-mb
+++ b/tests/sjis-mb
@@ -28,7 +28,7 @@ test_grep_reject() {
   encode "$2" | \
     LC_ALL=$locale \
       timeout 10s grep $1 $(encode "$3") > out$k 2>&1
-  test $? = 1
+  test $? = 1 && compare out$k /dev/null
 }
 
 test_grep() {
@@ -50,8 +50,8 @@ for i in $successful_tests; do
   test_grep -E $i A || fail=1
 done
 
-test_grep_reject -F @@ @
-test_grep_reject -E @@ @
+test_grep_reject -F @@ @ || fail=1
+test_grep_reject -E @@ @ || fail=1
 for i in $failure_tests; do
   test_grep_reject -F $i A || fail=1
   test_grep_reject -E $i A || fail=1

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

Summary of changes:
 tests/sjis-mb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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