Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
409b7e3e
Commit
409b7e3e
authored
Nov 21, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Remove tests that crash on XP and W2K3.
parent
8b7661bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
string.c
dlls/ntdll/tests/string.c
+12
-0
No files found.
dlls/ntdll/tests/string.c
View file @
409b7e3e
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment