Author: tfaber
Date: Sun Oct 18 13:13:44 2015
New Revision: 69599
URL:
http://svn.reactos.org/svn/reactos?rev=69599&view=rev
Log:
[URLMON_WINETEST]
- Cancel the test if a failure situation is detected that will lead to a timeout
ROSTESTS-192
CORE-10360
Modified:
trunk/rostests/winetests/urlmon/protocol.c
Modified: trunk/rostests/winetests/urlmon/protocol.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/urlmon/protocol…
==============================================================================
--- trunk/rostests/winetests/urlmon/protocol.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/urlmon/protocol.c [iso-8859-1] Sun Oct 18 13:13:44 2015
@@ -1084,6 +1084,12 @@
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