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.

This commit is contained in:
Francois Gouget 2007-02-20 15:56:50 +01:00 committed by Alexandre Julliard
parent f410bbf098
commit eb2bf541f2
1 changed files with 7 additions and 7 deletions

View File

@ -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);
if(!hFtp)
{
skip("No ftp connection could be made\n");
skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet);
return;
}
@ -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);
if(!hFtp)
{
skip("No ftp connection could be made\n");
skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet);
return;
}
@ -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);
if(!hFtp)
{
skip("No ftp connection could be made\n");
skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet);
return;
}
@ -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);
if(!hFtp)
{
skip("No ftp connection could be made\n");
skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet);
return;
}
@ -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);
if(!hFtp)
{
skip("No ftp connection could be made\n");
skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet);
return;
}
@ -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);
if(!hFtp)
{
skip("No ftp connection could be made\n");
skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet);
return;
}
@ -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);
if(!hFtp)
{
skip("No ftp connection could be made\n");
skip("No ftp connection could be made to ftp.winehq.org\n");
InternetCloseHandle(hInternet);
return;
}