[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v3.4-almost-49-g17af3bd
From: |
Jim Meyering |
Subject: |
grep branch, master, updated. v3.4-almost-49-g17af3bd |
Date: |
Sat, 26 Sep 2020 21:11:58 -0400 (EDT) |
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 17af3bd4db8af322830d39747c004da5e0875e99 (commit)
from 76e63d9f758e3681f93503607c5129a0acd72ded (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=17af3bd4db8af322830d39747c004da5e0875e99
commit 17af3bd4db8af322830d39747c004da5e0875e99
Author: Jim Meyering <meyering@fb.com>
Date: Sat Sep 26 17:46:34 2020 -0700
tests: skip stack-overflow test when built with ASAN
* tests/stack-overflow: Skip this test when the binary was built
with ASAN, to avoid spurious failures.
diff --git a/tests/stack-overflow b/tests/stack-overflow
index 4d612ec..d4d4b43 100755
--- a/tests/stack-overflow
+++ b/tests/stack-overflow
@@ -8,6 +8,15 @@ case $host_triplet in
skip_ 'our stack-overflow detection does not work on this system';;
esac
+# When compiled with ASAN, skip this test, because (on Fedora 32) it
+# would fail due to output like this on stderr:
+# +==2176827==WARNING: ASan is ignoring requested __asan_handle_no_return:
+# stack top: 0x7ffc48f20000; bottom 0x000000e25000; size: 0x7ffc480fb000
(140721517473792)
+# +False positive error reports may follow
+# +For details see https://github.com/google/sanitizers/issues/189
+ASAN_OPTIONS=help=true grep --version 2>&1 | grep -q AddressSanitizer \
+ && skip_ 'avoid false failure when built with ASAN'
+
echo grep: stack overflow > exp || framework_failure_
# Limit stack size. Otherwise, it appears to be too hard to overflow the
-----------------------------------------------------------------------
Summary of changes:
tests/stack-overflow | 9 +++++++++
1 file changed, 9 insertions(+)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v3.4-almost-49-g17af3bd,
Jim Meyering <=