aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2015-12-26 17:25:42 +0100
committerMarc Hoersken <info@marc-hoersken.de>2015-12-26 17:25:42 +0100
commit38b055446ae46e4568328fa90e96a87fe71c56a7 (patch)
tree5af3107c6250471999a401d96b6fc2fa7788f872 /tests/libtest
parent4ca246c3a8e3f3cde8e0fa4549e15c0ce96a9c1e (diff)
test 1515: add MSYS support by passing a relative path
MSYS would otherwise turn a /-style path into a C:\-style path.
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib1515.c2
1 files changed, 1 insertions, 1 deletions
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)))