From eaed52a5aa2e54574d864d8bf23d0060cc7b5edc Mon Sep 17 00:00:00 2001 From: Przemek Wirkus Date: Fri, 17 Oct 2014 15:59:13 +0100 Subject: [PATCH] In tests NET_1 and NET_7 changed URL to files from mbed.org to developer.mbed.org. Reason: online IDE was moved to developer subdomain and NET1 and NET-7 tests were failing --- libraries/tests/net/helloworld/tcpclient/main.cpp | 2 +- libraries/tests/net/protocols/HTTPClient_HelloWorld/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/tests/net/helloworld/tcpclient/main.cpp b/libraries/tests/net/helloworld/tcpclient/main.cpp index 8be303513b..90bc2225b5 100644 --- a/libraries/tests/net/helloworld/tcpclient/main.cpp +++ b/libraries/tests/net/helloworld/tcpclient/main.cpp @@ -4,7 +4,7 @@ #include "test_env.h" namespace { - const char *HTTP_SERVER_NAME = "mbed.org"; + const char *HTTP_SERVER_NAME = "http://developer.mbed.org"; const int HTTP_SERVER_PORT = 80; const int RECV_BUFFER_SIZE = 512; diff --git a/libraries/tests/net/protocols/HTTPClient_HelloWorld/main.cpp b/libraries/tests/net/protocols/HTTPClient_HelloWorld/main.cpp index 84f8ac740c..b55a616036 100644 --- a/libraries/tests/net/protocols/HTTPClient_HelloWorld/main.cpp +++ b/libraries/tests/net/protocols/HTTPClient_HelloWorld/main.cpp @@ -19,7 +19,7 @@ int main() //GET data { bool result = true; - const char *url_hello_txt = "http://mbed.org/media/uploads/donatien/hello.txt"; + const char *url_hello_txt = "http://developer.mbed.org/media/uploads/donatien/hello.txt"; printf("HTTP_GET: Trying to fetch page '%s'...\r\n", url_hello_txt); HTTPResult ret = http.get(url_hello_txt, http_request_buffer, BUFFER_SIZE); if (ret == HTTP_OK) {