and redis socache providers. Force TLSv1.2 for these runs since
TLSv1.3 doesn't use the cache.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1879594 13f79535-47bb-0310-9956-
ffa450edef68
popd
fi
+if test -v TEST_SSL; then
+ pushd test/perl-framework
+ ./scripts/memcached-init.sh
+ ./scripts/redis-init.sh
+ popd
+fi
+
if test -v APR_VERSION; then
install_apx apr ${APR_VERSION} "${APR_CONFIG}"
APU_CONFIG="$APU_CONFIG --with-apr=$HOME/root/apr-${APR_VERSION}"
if test -v TEST_SSL -a $RV -eq 0; then
pushd test/perl-framework
- # A test suite run with SSLSessionCache defined (see t/conf/ssl.conf.in)
- SSL_SESSCACHE=shmcb ./t/TEST -defines TEST_SSL_SESSCACHE t/ssl
- RV=$?
- if test $RV -eq 0; then
- # A test suite run with "SSLProtocol TLSv1.2" (see t/conf/ssl.conf.in)
- ./t/TEST -sslproto TLSv1.2 t/ssl
+ 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
RV=$?
- fi
+ test $RV -eq 0 || break
+ done
popd
fi