Commit eb2bf541 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wininet/tests: Tell the user which ftp server we're using for the tests so he…

wininet/tests: Tell the user which ftp server we're using for the tests so he can try to connect to it manually in case of trouble.
parent f410bbf0
...@@ -126,7 +126,7 @@ static void test_createdir(void) ...@@ -126,7 +126,7 @@ static void test_createdir(void)
hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0); hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0);
if(!hFtp) if(!hFtp)
{ {
skip("No ftp connection could be made\n"); skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet); InternetCloseHandle(hInternet);
return; return;
} }
...@@ -187,7 +187,7 @@ static void test_deletefile(void) ...@@ -187,7 +187,7 @@ static void test_deletefile(void)
hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0); hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0);
if(!hFtp) if(!hFtp)
{ {
skip("No ftp connection could be made\n"); skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet); InternetCloseHandle(hInternet);
return; return;
} }
...@@ -263,7 +263,7 @@ static void test_getfile(void) ...@@ -263,7 +263,7 @@ static void test_getfile(void)
hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0); hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0);
if(!hFtp) if(!hFtp)
{ {
skip("No ftp connection could be made\n"); skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet); InternetCloseHandle(hInternet);
return; return;
} }
...@@ -417,7 +417,7 @@ static void test_openfile(void) ...@@ -417,7 +417,7 @@ static void test_openfile(void)
hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0); hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0);
if(!hFtp) if(!hFtp)
{ {
skip("No ftp connection could be made\n"); skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet); InternetCloseHandle(hInternet);
return; return;
} }
...@@ -543,7 +543,7 @@ static void test_putfile(void) ...@@ -543,7 +543,7 @@ static void test_putfile(void)
hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0); hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0);
if(!hFtp) if(!hFtp)
{ {
skip("No ftp connection could be made\n"); skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet); InternetCloseHandle(hInternet);
return; return;
} }
...@@ -640,7 +640,7 @@ static void test_removedir(void) ...@@ -640,7 +640,7 @@ static void test_removedir(void)
hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0); hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0);
if(!hFtp) if(!hFtp)
{ {
skip("No ftp connection could be made\n"); skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet); InternetCloseHandle(hInternet);
return; return;
} }
...@@ -709,7 +709,7 @@ static void test_renamefile(void) ...@@ -709,7 +709,7 @@ static void test_renamefile(void)
hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0); hFtp = InternetConnect(hInternet, "ftp.winehq.org", INTERNET_DEFAULT_FTP_PORT, "anonymous", "IEUser@", INTERNET_SERVICE_FTP, 0, 0);
if(!hFtp) if(!hFtp)
{ {
skip("No ftp connection could be made\n"); skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet); InternetCloseHandle(hInternet);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment