From: Yann Ylavic Date: Fri, 7 Jan 2022 10:44:24 +0000 (+0000) Subject: Ignore debug logs when checking segfaults. [skip ci] X-Git-Tag: 2.5.0-alpha2-ci-test-only~595 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c150d105f05491d7f72cbdb4ae5bb1eb7fd3d7d2;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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