Hi Alistair, On 3/22/19 5:50 AM, Alistair Leslie-Hughes wrote:
+static const char *ftp_url;
static WCHAR file_url[INTERNET_MAX_URL_LENGTH], current_url[INTERNET_MAX_URL_LENGTH];
@@ -2905,7 +2907,10 @@ static void init_bind_test(int protocol, DWORD flags, DWORD t) url_a = (flags & BINDTEST_INVALID_CN) ?"https://4.15.184.77/favicon.ico" :"https://test.winehq.org/tests/hello.html"; break; case FTP_TEST: - url_a ="ftp://ftp.winehq.org/welcome.msg"; + if(!ftp_url) + url_a ="ftp://ftp.winehq.org/welcome.msg"; + else + url_a = ftp_url;
Is there any reason to run almost the same tests twice? FTP tests are rather slow. Could you just change current test to use escaped URL? Thanks, Jacek