grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.13-12-gec73b46


From: Jim Meyering
Subject: grep branch, master, updated. v2.13-12-gec73b46
Date: Fri, 03 Aug 2012 14:54:12 +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  ec73b46b4230f3dc3c9188922691977b576ee445 (commit)
      from  8c74af84958634a22a24dbc7fecf3fafd3f8e4bd (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=ec73b46b4230f3dc3c9188922691977b576ee445


commit ec73b46b4230f3dc3c9188922691977b576ee445
Author: Jim Meyering <address@hidden>
Date:   Thu Aug 2 14:58:57 2012 +0200

    tests: skip failing test on FS/system that lack SEEK_HOLE support
    
    * tests/big-hole: Test for SEEK_HOLE support.  If not available,
    skip this test.  Hence, this test is now skipped on linux-3.5.0 with
    ext4 or tmpfs.  The test runs (and passes) with at least btrfs, xfs,
    or ocfs2.
    * bootstrap.conf (gnulib_modules): Use the perl module.

diff --git a/bootstrap.conf b/bootstrap.conf
index f89a56e..c47954d 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -61,6 +61,7 @@ mempcpy
 minmax
 obstack
 openat-safer
+perl
 progname
 propername
 quote
diff --git a/tests/big-hole b/tests/big-hole
index 20ade97..eac077f 100755
--- a/tests/big-hole
+++ b/tests/big-hole
@@ -5,6 +5,12 @@
 
 expensive_
 
+# Skip this test if there is no usable SEEK_HOLE support,
+# as is the case with linux-3.5.0 on ext4 and tmpfs file systems.
+$PERL -e '$f=*STDERR; sysseek($f,2**22,0); syswrite($f,"a");' \
+      -e 'exit ("0 but true" ne sysseek($f,0,4))' 2> seek-hole-test \
+  || skip_ "this system/FS lacks SEEK_HOLE support"
+
 # Try to make this test not THAT expensive, on typical hosts.
 virtual_memory_KiB=10240
 if echo x | (ulimit -v $virtual_memory_KiB && grep x) >/dev/null 2>&1; then

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

Summary of changes:
 bootstrap.conf |    1 +
 tests/big-hole |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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