Paul Vriens : fusion/tests: Fix the last test failure on .NET 1.x.

Alexandre Julliard julliard at winehq.org
Mon Mar 2 09:01:38 CST 2009


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Sat Feb 28 21:57:39 2009 +0100

fusion/tests: Fix the last test failure on .NET 1.x.

---

 dlls/fusion/tests/asmname.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/fusion/tests/asmname.c b/dlls/fusion/tests/asmname.c
index b989c37..442f00f 100644
--- a/dlls/fusion/tests/asmname.c
+++ b/dlls/fusion/tests/asmname.c
@@ -610,7 +610,9 @@ static void test_CreateAssemblyNameObject(void)
     ok(hr == FUSION_E_INVALID_NAME ||
        broken(hr == S_OK), /* .NET 1.x */
        "Expected FUSION_E_INVALID_NAME, got %08x\n", hr);
-    ok(hi == 0, "Expected 0, got %08x\n", hi);
+    ok(hi == 0 ||
+       broken(hi == 0x10005), /* .NET 1.x */
+       "Expected 0, got %08x\n", hi);
     ok(lo == 0, "Expected 0, got %08x\n", lo);
 
     test_assembly_name_props(name, badvername);




More information about the wine-cvs mailing list