diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2015-12-26 17:25:42 +0100 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2015-12-26 17:25:42 +0100 |
commit | 38b055446ae46e4568328fa90e96a87fe71c56a7 (patch) | |
tree | 5af3107c6250471999a401d96b6fc2fa7788f872 | |
parent | 4ca246c3a8e3f3cde8e0fa4549e15c0ce96a9c1e (diff) | |
download | curl-38b055446ae46e4568328fa90e96a87fe71c56a7.tar.gz |
test 1515: add MSYS support by passing a relative path
MSYS would otherwise turn a /-style path into a C:\-style path.
-rw-r--r-- | tests/data/test1515 | 2 | ||||
-rw-r--r-- | tests/libtest/lib1515.c | 2 |
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))) |