aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test310
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test310')
-rw-r--r--tests/data/test3106
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/test310 b/tests/data/test310
index 005f71310..15cdaf456 100644
--- a/tests/data/test310
+++ b/tests/data/test310
@@ -32,8 +32,12 @@ https Server-localhost-sv.pem
simple HTTPS GET
</name>
<command>
---cacert certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/310
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/310
</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>
#