From 38b055446ae46e4568328fa90e96a87fe71c56a7 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sat, 26 Dec 2015 17:25:42 +0100 Subject: test 1515: add MSYS support by passing a relative path MSYS would otherwise turn a /-style path into a C:\-style path. --- tests/data/test1515 | 2 +- tests/libtest/lib1515.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -/path/1515 %HOSTIP %HTTPPORT +path/1515 %HOSTIP %HTTPPORT 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))) -- cgit v1.2.3