gdiplus/tests: Comment out a test that corrupts the stack on Vista.

This commit is contained in:
Alexandre Julliard 2010-06-30 14:17:13 +02:00
parent f712af41f5
commit 4b9258d165
1 changed files with 6 additions and 0 deletions

View File

@ -225,7 +225,13 @@ static void test_dasharray(void)
/* Try to set with count = 0. */
GdipSetPenDashStyle(pen, DashStyleDot);
if (0) /* corrupts stack on 64-bit Vista */
{
status = GdipSetPenDashArray(pen, dashes, 0);
ok(status == OutOfMemory || status == InvalidParameter,
"Expected OutOfMemory or InvalidParameter, got %.8x\n", status);
}
status = GdipSetPenDashArray(pen, dashes, -1);
ok(status == OutOfMemory || status == InvalidParameter,
"Expected OutOfMemory or InvalidParameter, got %.8x\n", status);
GdipGetPenDashStyle(pen, &style);