Commit 409b7e3e authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

ntdll: Remove tests that crash on XP and W2K3.

parent 8b7661bd
...@@ -411,28 +411,40 @@ static void test_ulongtow(void) ...@@ -411,28 +411,40 @@ static void test_ulongtow(void)
expected_wstr[pos] = ulong2str[0].Buffer[pos]; expected_wstr[pos] = ulong2str[0].Buffer[pos];
} /* for */ } /* for */
expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0'; expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0';
if (0) {
/* Crashes on XP and W2K3 */
result = p_itow(ulong2str[0].value, NULL, 10); result = p_itow(ulong2str[0].value, NULL, 10);
ok(result == NULL, ok(result == NULL,
"(test a): _itow(%d, NULL, 10) has result %p, expected: NULL\n", "(test a): _itow(%d, NULL, 10) has result %p, expected: NULL\n",
ulong2str[0].value, result); ulong2str[0].value, result);
}
for (pos = 0; pos < LARGE_STRI_BUFFER_LENGTH; pos++) { for (pos = 0; pos < LARGE_STRI_BUFFER_LENGTH; pos++) {
expected_wstr[pos] = ulong2str[0].Buffer[pos]; expected_wstr[pos] = ulong2str[0].Buffer[pos];
} /* for */ } /* for */
expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0'; expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0';
if (0) {
/* Crashes on XP and W2K3 */
result = p_ltow(ulong2str[0].value, NULL, 10); result = p_ltow(ulong2str[0].value, NULL, 10);
ok(result == NULL, ok(result == NULL,
"(test b): _ltow(%d, NULL, 10) has result %p, expected: NULL\n", "(test b): _ltow(%d, NULL, 10) has result %p, expected: NULL\n",
ulong2str[0].value, result); ulong2str[0].value, result);
}
for (pos = 0; pos < LARGE_STRI_BUFFER_LENGTH; pos++) { for (pos = 0; pos < LARGE_STRI_BUFFER_LENGTH; pos++) {
expected_wstr[pos] = ulong2str[0].Buffer[pos]; expected_wstr[pos] = ulong2str[0].Buffer[pos];
} /* for */ } /* for */
expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0'; expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0';
if (0) {
/* Crashes on XP and W2K3 */
result = p_ultow(ulong2str[0].value, NULL, 10); result = p_ultow(ulong2str[0].value, NULL, 10);
ok(result == NULL, ok(result == NULL,
"(test c): _ultow(%d, NULL, 10) has result %p, expected: NULL\n", "(test c): _ultow(%d, NULL, 10) has result %p, expected: NULL\n",
ulong2str[0].value, result); ulong2str[0].value, result);
}
} }
#define ULL(a,b) (((ULONGLONG)(a) << 32) | (b)) #define ULL(a,b) (((ULONGLONG)(a) << 32) | (b))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment