grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.6.3-64-g9d1ba48


From: Jim Meyering
Subject: grep branch, master, updated. v2.6.3-64-g9d1ba48
Date: Wed, 05 May 2010 08:42:19 +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  9d1ba48cb7d7d1ed0aeecb2bfe54fc2fde3e9933 (commit)
      from  e0ac660a2c1c1484baeb27716d7aeb37431b4ca3 (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=9d1ba48cb7d7d1ed0aeecb2bfe54fc2fde3e9933


commit 9d1ba48cb7d7d1ed0aeecb2bfe54fc2fde3e9933
Author: Jim Meyering <address@hidden>
Date:   Wed May 5 10:38:28 2010 +0200

    tests: readability: use awk rather than obfuscated sed
    
    * tests/backref-multibyte-slow: Generate input using an awk for-loop
    rather than expensive and harder-to-read sed pipes.
    Remove stray "set -x" and "wc -l in".

diff --git a/tests/backref-multibyte-slow b/tests/backref-multibyte-slow
index d0d2b53..06ae1bd 100644
--- a/tests/backref-multibyte-slow
+++ b/tests/backref-multibyte-slow
@@ -8,16 +8,9 @@ require_timeout_
 
 fail=0
 
-set -x
-# Create a 12288-line input
-echo aba | \
-  sed 'p;p;p;p;p;p;p' | \
-  sed 'p;p;p;p;p;p;p' | \
-  sed 'p;p;p;p;p;p;p' | \
-  sed 'p;p;p;p;p;p;p' | \
-  sed 'p;p' > in
+# Create a 13000-line input
+$AWK 'BEGIN {for (i=0; i<13000; i++) print "aba"}' /dev/null > in || fail=1
 
-  wc -l in
 for LOC in en_US.UTF-8; do
   out=out-$LOC
   LC_ALL=$LOC timeout 5s grep -E '^([a-z]).\1$' in > $out 2>&1

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

Summary of changes:
 tests/backref-multibyte-slow |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
grep




reply via email to

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