From: Marc Hoersken Date: Sat, 26 Dec 2015 16:25:42 +0000 (+0100) Subject: test 1515: add MSYS support by passing a relative path X-Git-Tag: curl-7_47_0~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38b055446ae46e4568328fa90e96a87fe71c56a7;p=curl test 1515: add MSYS support by passing a relative path MSYS would otherwise turn a /-style path into a C:\-style path. --- 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)))