aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test312
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test312')
-rw-r--r--tests/data/test3126
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/test312 b/tests/data/test312
index 5adb1e352..7f390b4c9 100644
--- a/tests/data/test312
+++ b/tests/data/test312
@@ -24,8 +24,12 @@ https Server-localhost.nn-sv.pem
HTTPS GET to localhost and null-prefixed CN cert
</name>
<command>
---cacert certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/312
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/312
</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>
#