]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Ignore debug logs when checking segfaults. [skip ci]
authorYann Ylavic <ylavic@apache.org>
Fri, 7 Jan 2022 10:44:24 +0000 (10:44 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 7 Jan 2022 10:44:24 +0000 (10:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896784 13f79535-47bb-0310-9956-ffa450edef68

test/travis_run_linux.sh

index c2a08eeb22eb0b19961a81492885157117ecea4d..7e69554180fff900002feb77eeff83b6d49f5bbb 100755 (executable)
@@ -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