From c150d105f05491d7f72cbdb4ae5bb1eb7fd3d7d2 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Fri, 7 Jan 2022 10:44:24 +0000 Subject: [PATCH] Ignore debug logs when checking segfaults. [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896784 13f79535-47bb-0310-9956-ffa450edef68 --- test/travis_run_linux.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh index c2a08eeb22e..7e69554180f 100755 --- a/test/travis_run_linux.sh +++ b/test/travis_run_linux.sh @@ -250,7 +250,8 @@ if ! test -v SKIP_TESTING; then # --enable-thread-debug when an APR pool concurrency check aborts for phrase in 'Segmentation fault' 'glibc detected' 'pool concurrency check:' 'Assertion.*failed'; do - if grep -q "$phrase" test/perl-framework/t/logs/error_log; then + # Ignore IO/debug logs + if grep -v ':\(debug\|trace[12345678]\)\]' test/perl-framework/t/logs/error_log | grep -q "$phrase"; then grep --color=always -C5 "$phrase" test/perl-framework/t/logs/error_log RV=2 fi -- 2.47.3