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 b197be563ebe3cd32a0884c73e932c5b2f5ddd3b (commit)
via 52418599b30c6a42358599b65e2cbb7da2926b8e (commit)
from a4628e58ddfcfd1e4cb3b063a89ebfc0e473358b (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=b197be563ebe3cd32a0884c73e932c5b2f5ddd3b
commit b197be563ebe3cd32a0884c73e932c5b2f5ddd3b
Author: Jim Meyering <[email protected]>
Date: Mon Apr 7 22:42:22 2025 -0700
tests: hash-collision-perf: avoid test hang on GNU/Hurd
This test would hang on GNU/Hurd because the perl code we use to measure
subsecond duration isn't ported, and that loop would never terminate.
* tests/hash-collision-perf: Detect the always-0 small_ms, and skip the
test.
Reported by Bruno Haible in https://bugs.gnu.org/77613
diff --git a/tests/hash-collision-perf b/tests/hash-collision-perf
index b9a5b51..896d780 100755
--- a/tests/hash-collision-perf
+++ b/tests/hash-collision-perf
@@ -34,6 +34,9 @@ while :; do
small_ms=$(LC_ALL=C user_time_ 1 grep --file=in empty) || fail=1
test $small_ms -ge 200 && break
n_pat=$(expr $n_pat '*' 2)
+ case $n_pat:$small_ms in
+ 640000:0) skip_ 'user_time_ appears always to report 0 elapsed ms';;
+ esac
done
# Now, search for those same digits mapped to A-J.
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=52418599b30c6a42358599b65e2cbb7da2926b8e
commit b197be563ebe3cd32a0884c73e932c5b2f5ddd3b
Author: Jim Meyering <[email protected]>
Date: Mon Apr 7 22:42:22 2025 -0700
tests: hash-collision-perf: avoid test hang on GNU/Hurd
This test would hang on GNU/Hurd because the perl code we use to measure
subsecond duration isn't ported, and that loop would never terminate.
* tests/hash-collision-perf: Detect the always-0 small_ms, and skip the
test.
Reported by Bruno Haible in https://bugs.gnu.org/77613
diff --git a/tests/hash-collision-perf b/tests/hash-collision-perf
index b9a5b51..896d780 100755
--- a/tests/hash-collision-perf
+++ b/tests/hash-collision-perf
@@ -34,6 +34,9 @@ while :; do
small_ms=$(LC_ALL=C user_time_ 1 grep --file=in empty) || fail=1
test $small_ms -ge 200 && break
n_pat=$(expr $n_pat '*' 2)
+ case $n_pat:$small_ms in
+ 640000:0) skip_ 'user_time_ appears always to report 0 elapsed ms';;
+ esac
done
# Now, search for those same digits mapped to A-J.
-----------------------------------------------------------------------
Summary of changes:
src/grep.c | 4 +++-
tests/hash-collision-perf | 3 +++
tests/max-count-overread | 10 ++++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
hooks/post-receive
--
grep