diff --git a/docs/examples/ephiperfifo.c b/docs/examples/ephiperfifo.c index 62c3b2c674..12afb5621e 100644 --- a/docs/examples/ephiperfifo.c +++ b/docs/examples/ephiperfifo.c @@ -42,7 +42,7 @@ * curl_multi "hiper" API. * * Thus, you can try a single URL: - * % echo http://www.yahoo.com > hiper.fifo + * % echo http://www.example.com > hiper.fifo * * Or a whole bunch of them: * % cat my-url-list > hiper.fifo diff --git a/docs/examples/evhiperfifo.c b/docs/examples/evhiperfifo.c index e4fdf7d089..37e41b726e 100644 --- a/docs/examples/evhiperfifo.c +++ b/docs/examples/evhiperfifo.c @@ -45,7 +45,7 @@ * curl_multi "hiper" API. * * Thus, you can try a single URL: - * % echo http://www.yahoo.com > hiper.fifo + * % echo http://www.example.com > hiper.fifo * * Or a whole bunch of them: * % cat my-url-list > hiper.fifo diff --git a/docs/examples/ghiper.c b/docs/examples/ghiper.c index 31db2bc9f9..b0b5e022d6 100644 --- a/docs/examples/ghiper.c +++ b/docs/examples/ghiper.c @@ -42,7 +42,7 @@ * curl_multi "hiper" API. * * Thus, you can try a single URL: - * % echo http://www.yahoo.com > hiper.fifo + * % echo http://www.example.com > hiper.fifo * * Or a whole bunch of them: * % cat my-url-list > hiper.fifo diff --git a/docs/examples/hiperfifo.c b/docs/examples/hiperfifo.c index 2b0ae0fdb9..d2a5f11724 100644 --- a/docs/examples/hiperfifo.c +++ b/docs/examples/hiperfifo.c @@ -42,7 +42,7 @@ * curl_multi "hiper" API. * * Thus, you can try a single URL: - * % echo http://www.yahoo.com > hiper.fifo + * % echo http://www.example.com > hiper.fifo * * Or a whole bunch of them: * % cat my-url-list > hiper.fifo diff --git a/tests/data/test536 b/tests/data/test536 index b03bc52318..e0bcc906f7 100644 --- a/tests/data/test536 +++ b/tests/data/test536 @@ -43,7 +43,7 @@ CURLINFO_USED_PROXY # 1 - the non-proxy using URL # 2 - the CURLOPT_RESOLVE string to change IP for the name -http://%HOSTIP:%HTTPPORT goingdirect.com:%HTTPPORT goingdirect.com:%HTTPPORT:%HOSTIP +http://%HOSTIP:%HTTPPORT goingdirect.test:%HTTPPORT goingdirect.test:%HTTPPORT:%HOSTIP proxy @@ -53,13 +53,13 @@ proxy # Verify data after the test has been "shot" -GET http://usingproxy.com/ HTTP/1.1 -Host: usingproxy.com +GET http://usingproxy.test/ HTTP/1.1 +Host: usingproxy.test Accept: */* Proxy-Connection: Keep-Alive GET / HTTP/1.1 -Host: goingdirect.com:%HTTPPORT +Host: goingdirect.test:%HTTPPORT Accept: */* diff --git a/tests/libtest/lib536.c b/tests/libtest/lib536.c index 69208d1dcf..e63757ac91 100644 --- a/tests/libtest/lib536.c +++ b/tests/libtest/lib536.c @@ -37,7 +37,7 @@ static CURLcode test_lib536(const char *URL) CURL *curl; struct curl_slist *host = NULL; - static const char *url_with_proxy = "http://usingproxy.com/"; + static const char *url_with_proxy = "http://usingproxy.test/"; const char *url_without_proxy = libtest_arg2; if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) { @@ -59,7 +59,7 @@ static CURLcode test_lib536(const char *URL) test_setopt(curl, CURLOPT_RESOLVE, host); test_setopt(curl, CURLOPT_PROXY, URL); test_setopt(curl, CURLOPT_URL, url_with_proxy); - test_setopt(curl, CURLOPT_NOPROXY, "goingdirect.com"); + test_setopt(curl, CURLOPT_NOPROXY, "goingdirect.test"); test_setopt(curl, CURLOPT_VERBOSE, 1L); result = curl_easy_perform(curl); diff --git a/tests/unit/unit2600.c b/tests/unit/unit2600.c index 96683052da..213fd0b178 100644 --- a/tests/unit/unit2600.c +++ b/tests/unit/unit2600.c @@ -359,7 +359,7 @@ static void test_connect(CURL *easy, const struct test_case *tc) * Max Duration checks needs to be conservative since CI jobs are not * as sharp. */ -#define TURL "http://test.com:123" +#define TURL "http://abc.test:123" #define R_FAIL CURLE_COULDNT_CONNECT /* timeout values accounting for low cpu resources in CI */ @@ -375,46 +375,46 @@ static CURLcode test_unit2600(const char *arg) static const struct test_case TEST_CASES[] = { /* TIMEOUT_MS, FAIL_MS CREATED DURATION Result, HE_PREF */ /* CNCT HE v4 v6 v4 v6 MIN MAX MAX_CONCURRENT */ - { 1, TURL, "test.com:123:192.0.2.1", CURL_IPRESOLVE_WHATEVER, + { 1, TURL, "abc.test:123:192.0.2.1", CURL_IPRESOLVE_WHATEVER, CNCT_TMOT, 150, 250, 250, 1, 0, 200, TC_TMOT, R_FAIL, NULL, 1 }, /* 1 ipv4, fails after ~200ms, reports COULDNT_CONNECT */ - { 2, TURL, "test.com:123:192.0.2.1,192.0.2.2", CURL_IPRESOLVE_WHATEVER, + { 2, TURL, "abc.test:123:192.0.2.1,192.0.2.2", CURL_IPRESOLVE_WHATEVER, CNCT_TMOT, 150, 250, 250, 2, 0, 400, TC_TMOT, R_FAIL, NULL, 2 }, /* 2 ipv4, fails after ~400ms, reports COULDNT_CONNECT */ #ifdef USE_IPV6 - { 3, TURL, "test.com:123:::1", CURL_IPRESOLVE_WHATEVER, + { 3, TURL, "abc.test:123:::1", CURL_IPRESOLVE_WHATEVER, CNCT_TMOT, 150, 250, 250, 0, 1, 200, TC_TMOT, R_FAIL, NULL, 1 }, /* 1 ipv6, fails after ~200ms, reports COULDNT_CONNECT */ - { 4, TURL, "test.com:123:::1,::2", CURL_IPRESOLVE_WHATEVER, + { 4, TURL, "abc.test:123:::1,::2", CURL_IPRESOLVE_WHATEVER, CNCT_TMOT, 150, 250, 250, 0, 2, 400, TC_TMOT, R_FAIL, NULL, 2 }, /* 2 ipv6, fails after ~400ms, reports COULDNT_CONNECT */ - { 5, TURL, "test.com:123:192.0.2.1,::1", CURL_IPRESOLVE_WHATEVER, + { 5, TURL, "abc.test:123:192.0.2.1,::1", CURL_IPRESOLVE_WHATEVER, CNCT_TMOT, 150, 250, 250, 1, 1, 350, TC_TMOT, R_FAIL, "v6", 2 }, /* mixed ip4+6, v6 always first, v4 kicks in on HE, fails after ~350ms */ - { 6, TURL, "test.com:123:::1,192.0.2.1", CURL_IPRESOLVE_WHATEVER, + { 6, TURL, "abc.test:123:::1,192.0.2.1", CURL_IPRESOLVE_WHATEVER, CNCT_TMOT, 150, 250, 250, 1, 1, 350, TC_TMOT, R_FAIL, "v6", 2 }, /* mixed ip6+4, v6 starts, v4 never starts due to high HE, TIMEOUT */ - { 7, TURL, "test.com:123:192.0.2.1,::1", CURL_IPRESOLVE_V4, + { 7, TURL, "abc.test:123:192.0.2.1,::1", CURL_IPRESOLVE_V4, CNCT_TMOT, 150, 500, 500, 1, 0, 400, TC_TMOT, R_FAIL, NULL, 1 }, /* mixed ip4+6, but only use v4, check it uses full connect timeout, although another address of the 'wrong' family is available */ - { 8, TURL, "test.com:123:::1,192.0.2.1", CURL_IPRESOLVE_V6, + { 8, TURL, "abc.test:123:::1,192.0.2.1", CURL_IPRESOLVE_V6, CNCT_TMOT, 150, 500, 500, 0, 1, 400, TC_TMOT, R_FAIL, NULL, 1 }, /* mixed ip4+6, but only use v6, check it uses full connect timeout, although another address of the 'wrong' family is available */ - { 9, TURL, "test.com:123:::1,192.0.2.1,::2,::3", CURL_IPRESOLVE_WHATEVER, + { 9, TURL, "abc.test:123:::1,192.0.2.1,::2,::3", CURL_IPRESOLVE_WHATEVER, CNCT_TMOT, 50, 400, 400, 1, 3, 550, TC_TMOT, R_FAIL, NULL, 4 }, /* 1 v4, 3 v6, fails after (3*HE)+400ms, ~550ms, COULDNT_CONNECT */ - { 10, TURL, "test.com:123:::1,192.0.2.1,::2,::3,::4,::5,::6,::7,::8", + { 10, TURL, "abc.test:123:::1,192.0.2.1,::2,::3,::4,::5,::6,::7,::8", CURL_IPRESOLVE_WHATEVER, CNCT_TMOT, 20, 500, 500, 1, 8, 550, TC_TMOT, R_FAIL, NULL, 6 },