[ntdll 3/5] Remove tests that crash on XP and W2K3

Paul Vriens paul.vriens.wine at gmail.com
Tue Nov 21 02:24:25 CST 2006


Hi,

again some tests that crash.

Changelog
  Remove tests that crash on XP and W2K3

Cheers,

Paul.
---
 dlls/ntdll/tests/string.c |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/dlls/ntdll/tests/string.c b/dlls/ntdll/tests/string.c
index 0db96d6..da5f09e 100644
--- a/dlls/ntdll/tests/string.c
+++ b/dlls/ntdll/tests/string.c
@@ -752,20 +752,28 @@ static void test_ulonglongtow(void)
 	expected_wstr[pos] = ulong2str[0].Buffer[pos];
     } /* for */
     expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0';
-    result = p_i64tow(ulong2str[0].value, NULL, 10);
-    ok(result == NULL,
-       "(test d): _i64tow(0x%x%08x, NULL, 10) has result %p, expected: NULL\n",
-       (DWORD)(ulonglong2str[0].value >> 32), (DWORD)ulonglong2str[0].value, result);
+
+    if (0) {
+        /* Crashes on XP and W2K3 */
+        result = p_i64tow(ulong2str[0].value, NULL, 10);
+        ok(result == NULL,
+           "(test d): _i64tow(0x%x%08x, NULL, 10) has result %p, expected: NULL\n",
+           (DWORD)(ulonglong2str[0].value >> 32), (DWORD)ulonglong2str[0].value, result);
+    }
 
     if (p_ui64tow) {
         for (pos = 0; pos < LARGE_STRI_BUFFER_LENGTH; pos++) {
 	    expected_wstr[pos] = ulong2str[0].Buffer[pos];
 	} /* for */
 	expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0';
-	result = p_ui64tow(ulong2str[0].value, NULL, 10);
-	ok(result == NULL,
-           "(test e): _ui64tow(0x%x%08x, NULL, 10) has result %p, expected: NULL\n",
-	   (DWORD)(ulonglong2str[0].value >> 32), (DWORD)ulonglong2str[0].value, result);
+
+        if (0) {
+            /* Crashes on XP and W2K3 */
+	    result = p_ui64tow(ulong2str[0].value, NULL, 10);
+	    ok(result == NULL,
+               "(test e): _ui64tow(0x%x%08x, NULL, 10) has result %p, expected: NULL\n",
+	       (DWORD)(ulonglong2str[0].value >> 32), (DWORD)ulonglong2str[0].value, result);
+        }
     } /* if */
 }
 
-- 
1.4.4




More information about the wine-patches mailing list