summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2020-12-17 09:20:49 +0100
committerJoe Orton <jorton@apache.org>2020-12-17 09:20:49 +0100
commitdec2c6446af9747600755a0ec122fa03056b0ee8 (patch)
tree643d87faf86621414050f6789e25c2525a316468 /test
parentAdd .opus extension for audio/ogg mimetype, per RFC 7845 (diff)
downloadapache2-dec2c6446af9747600755a0ec122fa03056b0ee8.tar.xz
apache2-dec2c6446af9747600755a0ec122fa03056b0ee8.zip
Add ab run for TEST_SSL jobs. This now seems to be stable after the
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
Diffstat (limited to 'test')
-rwxr-xr-xtest/travis_run_linux.sh17
1 files changed, 16 insertions, 1 deletions
diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh
index dde57c557f..bd238919cc 100755
--- a/test/travis_run_linux.sh
+++ b/test/travis_run_linux.sh
@@ -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