You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2022/01/07 10:44:25 UTC

svn commit: r1896784 - /httpd/httpd/trunk/test/travis_run_linux.sh

Author: ylavic
Date: Fri Jan  7 10:44:24 2022
New Revision: 1896784

URL: http://svn.apache.org/viewvc?rev=1896784&view=rev
Log:
Ignore debug logs when checking segfaults. [skip ci]

Modified:
    httpd/httpd/trunk/test/travis_run_linux.sh

Modified: httpd/httpd/trunk/test/travis_run_linux.sh
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/test/travis_run_linux.sh?rev=1896784&r1=1896783&r2=1896784&view=diff
==============================================================================
--- httpd/httpd/trunk/test/travis_run_linux.sh (original)
+++ httpd/httpd/trunk/test/travis_run_linux.sh Fri Jan  7 10:44:24 2022
@@ -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