From 8fa73c4dc6c2db134b1ee62023d36d51cdee7e25 Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Mon, 20 Feb 2012 01:13:50 +0000 Subject: [PATCH] [NTDLL_WINETEST]: Skip an obviously nonsensical test of trying to sprintf into NULL. svn path=/trunk/; revision=55730 --- rostests/winetests/ntdll/rtl.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/rostests/winetests/ntdll/rtl.c b/rostests/winetests/ntdll/rtl.c index 63bc813f282..20b39f3ea73 100755 --- a/rostests/winetests/ntdll/rtl.c +++ b/rostests/winetests/ntdll/rtl.c @@ -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 */