[shell32/tests/string.c] Skip a test to prevent crashes on W2K/WinXP/W2K3

Paul Vriens Paul.Vriens at xs4all.nl
Fri Jul 22 12:50:36 CDT 2005


Hi,

the last test in StrRetToStringNW crashes on W2K/WinXP/W2K3. 

Changelog
  Skip test as it crashes on W2K/WinXP/W2K.

Cheers,

Paul


Index: dlls/shell32/tests/string.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/tests/string.c,v
retrieving revision 1.2
diff -u -p -r1.2 string.c
--- dlls/shell32/tests/string.c 22 Mar 2005 18:19:13 -0000      1.2
+++ dlls/shell32/tests/string.c 22 Jul 2005 17:46:20 -0000
@@ -88,11 +88,14 @@ static void test_StrRetToStringNW(void)
     ok(ret == TRUE && !strcmpW(buff, szTestW),
        "STRRET_OFFSET: dup failed, ret=%d\n", ret);
  
+    /* The next test crashes on W2K, WinXP and W2K3, so we don't test. */
+#if 0
     /* Invalid dest - should return FALSE, except NT4 does not, so we don't check. */
     strret.uType = STRRET_WSTR;
     strret.u.pOleStr = CoDupStrW("Test");
     pStrRetToStrNAW(NULL, sizeof(buff)/sizeof(WCHAR), &strret, NULL);
     trace("NULL dest: ret=%d\n", ret);
+#endif
 }
  
 START_TEST(string)





More information about the wine-patches mailing list