Paul Vriens : ntdll: Remove tests that crash on XP and W2K3.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 21 08:14:54 CST 2006


Module: wine
Branch: master
Commit: 409b7e3edf3c06e5415fd3e4dca8c6431794461c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=409b7e3edf3c06e5415fd3e4dca8c6431794461c

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Tue Nov 21 09:24:05 2006 +0100

ntdll: Remove tests that crash on XP and W2K3.

---

 dlls/ntdll/tests/string.c |   36 ++++++++++++++++++++++++------------
 1 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/dlls/ntdll/tests/string.c b/dlls/ntdll/tests/string.c
index 01e671e..0db37d8 100644
--- a/dlls/ntdll/tests/string.c
+++ b/dlls/ntdll/tests/string.c
@@ -411,28 +411,40 @@ static void test_ulongtow(void)
 	expected_wstr[pos] = ulong2str[0].Buffer[pos];
     } /* for */
     expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0';
-    result = p_itow(ulong2str[0].value, NULL, 10);
-    ok(result == NULL,
-       "(test a): _itow(%d, NULL, 10) has result %p, expected: NULL\n",
-       ulong2str[0].value, result);
+
+    if (0) {
+        /* Crashes on XP and W2K3 */
+        result = p_itow(ulong2str[0].value, NULL, 10);
+        ok(result == NULL,
+           "(test a): _itow(%d, NULL, 10) has result %p, expected: NULL\n",
+           ulong2str[0].value, result);
+    }
 
     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_ltow(ulong2str[0].value, NULL, 10);
-    ok(result == NULL,
-       "(test b): _ltow(%d, NULL, 10) has result %p, expected: NULL\n",
-       ulong2str[0].value, result);
+
+    if (0) {
+        /* Crashes on XP and W2K3 */
+        result = p_ltow(ulong2str[0].value, NULL, 10);
+        ok(result == NULL,
+           "(test b): _ltow(%d, NULL, 10) has result %p, expected: NULL\n",
+           ulong2str[0].value, result);
+    }
 
     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_ultow(ulong2str[0].value, NULL, 10);
-    ok(result == NULL,
-       "(test c): _ultow(%d, NULL, 10) has result %p, expected: NULL\n",
-       ulong2str[0].value, result);
+
+    if (0) {
+        /* Crashes on XP and W2K3 */
+        result = p_ultow(ulong2str[0].value, NULL, 10);
+        ok(result == NULL,
+           "(test c): _ultow(%d, NULL, 10) has result %p, expected: NULL\n",
+           ulong2str[0].value, result);
+    }
 }
 
 #define ULL(a,b) (((ULONGLONG)(a) << 32) | (b))




More information about the wine-cvs mailing list