]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add ab run for TEST_SSL jobs. This now seems to be stable after the
authorJoe Orton <jorton@apache.org>
Thu, 17 Dec 2020 08:20:49 +0000 (08:20 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 17 Dec 2020 08:20:49 +0000 (08:20 +0000)
pool fixes in APR/httpd (huge thanks ylavic).

Github: closes #140

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1884542 13f79535-47bb-0310-9956-ffa450edef68

test/travis_run_linux.sh

index dde57c557fb8c83e1a772bdae86b6e3e5b80e979..bd238919ccc6b4ad12bc417d626f7fef8399e4db 100755 (executable)
@@ -58,6 +58,8 @@ if test -v TEST_VPATH; then
     cd ../vpath
 fi
 
+builddir=$PWD
+
 $srcdir/configure --prefix=$PREFIX $CONFIG
 make $MFLAGS
 
@@ -110,8 +112,21 @@ if ! test -v SKIP_TESTING; then
     if test -v TEST_SSL -a $RV -eq 0; then
         pushd test/perl-framework
             for cache in shmcb redis:localhost:6379 memcache:localhost:11211; do
-                SSL_SESSCACHE=$cache ./t/TEST -sslproto TLSv1.2 -defines TEST_SSL_SESSCACHE t/ssl
+                SSL_SESSCACHE=$cache ./t/TEST -sslproto TLSv1.2 -defines TEST_SSL_SESSCACHE -start
+                ./t/TEST t/ssl
                 RV=$?
+                if test $RV -eq 0; then
+                    # TODO: only really useful in e.g. triggering
+                    # server segfaults which are caught later, doesn't
+                    # directly catch non-200 responses etc.
+                    $builddir/support/ab -qd -n 4000 -c 20 -f TLS1.2 https://localhost:8532/
+                    RV=$?
+                fi
+                ./t/TEST -stop
+                SRV=$?
+                if test $RV -eq 0 -a $SRV -ne 0; then
+                    RV=$SRV
+                fi
                 test $RV -eq 0 || break
             done
         popd