mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 22:32:12 +00:00
[NTDLL_WINETEST]: Skip an obviously nonsensical test of trying to sprintf into NULL.
svn path=/trunk/; revision=55730
This commit is contained in:
parent
19a5d85926
commit
8fa73c4dc6
1 changed files with 7 additions and 4 deletions
|
@ -1173,10 +1173,13 @@ static void test_RtlIpv4AddressToString(void)
|
|||
len = strlen(buffer);
|
||||
ok(res == (buffer + len), "got %p with '%s' (expected %p)\n", res, buffer, buffer + len);
|
||||
|
||||
res = pRtlIpv4AddressToStringA(&ip, NULL);
|
||||
ok( (res == (char *)~0) ||
|
||||
broken(res == (char *)0 + len), /* XP and w2003 */
|
||||
"got %p (expected ~0)\n", res);
|
||||
if (0) {
|
||||
/* this crashes in windows */
|
||||
res = pRtlIpv4AddressToStringA(&ip, NULL);
|
||||
ok( (res == (char *)~0) ||
|
||||
broken(res == (char *)0 + len), /* XP and w2003 */
|
||||
"got %p (expected ~0)\n", res);
|
||||
}
|
||||
|
||||
if (0) {
|
||||
/* this crashes in windows */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue