Alexandre Julliard : kernel32/tests: Comment out an UpdateResource call that causes failures.

Alexandre Julliard julliard at winehq.org
Wed Sep 17 07:15:01 CDT 2008


Module: wine
Branch: master
Commit: b1412422ad854739bc4e9d5b5f364a6d20a4d2f9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b1412422ad854739bc4e9d5b5f364a6d20a4d2f9

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Sep 16 22:36:58 2008 +0200

kernel32/tests: Comment out an UpdateResource call that causes failures.

---

 dlls/kernel32/tests/resource.c |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/dlls/kernel32/tests/resource.c b/dlls/kernel32/tests/resource.c
index 9f8dcce..90c8e9d 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),




More information about the wine-cvs mailing list