mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[URLMON_WINETEST]
- Cancel the test if a failure situation is detected that will lead to a timeout ROSTESTS-192 CORE-10360 svn path=/trunk/; revision=69599
This commit is contained in:
parent
2cf1ec318d
commit
3bb5106159
|
@ -1084,6 +1084,12 @@ static HRESULT WINAPI ProtocolSink_ReportResult(IInternetProtocolSink *iface, HR
|
|||
else
|
||||
ok(hrResult == expect_hrResult, "hrResult = %08x, expected: %08x\n",
|
||||
hrResult, expect_hrResult);
|
||||
#ifdef __REACTOS__
|
||||
if(!winetest_interactive && tested_protocol != FTP_TEST && hrResult != expect_hrResult) {
|
||||
skip("CORE-10360/ROSTESTS-192: Test might hang, skipping the rest!\n");
|
||||
exit(1);
|
||||
}
|
||||
#endif
|
||||
if(SUCCEEDED(hrResult) || tested_protocol == FTP_TEST || test_abort)
|
||||
ok(dwError == ERROR_SUCCESS, "dwError = %d, expected ERROR_SUCCESS\n", dwError);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue