From b1412422ad854739bc4e9d5b5f364a6d20a4d2f9 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 16 Sep 2008 22:36:58 +0200 Subject: [PATCH] kernel32/tests: Comment out an UpdateResource call that causes failures. --- dlls/kernel32/tests/resource.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/dlls/kernel32/tests/resource.c b/dlls/kernel32/tests/resource.c index 9f8dcce241f..90c8e9dd455 100644 --- a/dlls/kernel32/tests/resource.c +++ b/dlls/kernel32/tests/resource.c @@ -173,12 +173,15 @@ static void update_resources_version(void) res = BeginUpdateResource( filename, TRUE ); ok( res != NULL, "BeginUpdateResource failed\n"); - r = UpdateResource( res, - MAKEINTRESOURCE(0x1230), - MAKEINTRESOURCE(0x4567), - 0xabcd, - NULL, 0 ); - ok( r == FALSE, "UpdateResource failed\n"); + if (0) /* this causes subsequent tests to fail on Vista */ + { + r = UpdateResource( res, + MAKEINTRESOURCE(0x1230), + MAKEINTRESOURCE(0x4567), + 0xabcd, + NULL, 0 ); + ok( r == FALSE, "UpdateResource failed\n"); + } r = UpdateResource( res, MAKEINTRESOURCE(0x1230), -- 2.11.4.GIT