diff options
Diffstat (limited to 'tests/data/test311')
-rw-r--r-- | tests/data/test311 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/test311 b/tests/data/test311 index cd51fff74..13c2d4d00 100644 --- a/tests/data/test311 +++ b/tests/data/test311 @@ -24,8 +24,12 @@ https Server-localhost0h-sv.pem HTTPS wrong subjectAltName but right CN </name> <command> ---cacert certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/311 +--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/311 </command> +# Ensure that we're running on localhost because we're checking the host name +<precheck> +perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );" +</precheck> </client> # |