aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test15152
-rw-r--r--tests/libtest/lib1515.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test1515 b/tests/data/test1515
index 3a49d1be9..88168c37b 100644
--- a/tests/data/test1515
+++ b/tests/data/test1515
@@ -45,7 +45,7 @@ lib1515
caching of manual libcurl DNS entries after DNS cache timeout
</name>
<command>
-/path/1515 %HOSTIP %HTTPPORT
+path/1515 %HOSTIP %HTTPPORT
</command>
</client>
diff --git a/tests/libtest/lib1515.c b/tests/libtest/lib1515.c
index d5c8f7d08..11c57aa2f 100644
--- a/tests/libtest/lib1515.c
+++ b/tests/libtest/lib1515.c
@@ -130,7 +130,7 @@ int test(char *URL)
for(i = 1; i <= count; i++) {
char target_url[256];
- snprintf(target_url, sizeof(target_url), "http://testserver.example.com:%s%s%04d", port, path, i);
+ snprintf(target_url, sizeof(target_url), "http://testserver.example.com:%s/%s%04d", port, path, i);
/* second request must succeed like the first one */
if((res = do_one_request(multi, target_url, dns_entry)))