Paul Vriens : fusion/tests: Don't crash on .NET 1.x.
Alexandre Julliard
julliard at winehq.org
Fri Feb 20 12:49:34 CST 2009
Module: wine
Branch: master
Commit: 93c415828341c61e69c1696fbb6d6229ef630494
URL: http://source.winehq.org/git/wine.git/?a=commit;h=93c415828341c61e69c1696fbb6d6229ef630494
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Feb 20 08:01:17 2009 +0100
fusion/tests: Don't crash on .NET 1.x.
---
dlls/fusion/tests/asmenum.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/fusion/tests/asmenum.c b/dlls/fusion/tests/asmenum.c
index 0349eb3..14cf002 100644
--- a/dlls/fusion/tests/asmenum.c
+++ b/dlls/fusion/tests/asmenum.c
@@ -181,8 +181,12 @@ static void test_CreateAssemblyEnum(void)
ok(asmname != NULL, "Expected non-NULL asmname\n");
/* pEnum is NULL */
- hr = pCreateAssemblyEnum(NULL, NULL, asmname, ASM_CACHE_GAC, NULL);
- ok(hr == E_INVALIDARG, "Expected E_INVALIDARG, got %08x\n", hr);
+ if (0)
+ {
+ /* Crashes on .NET 1.x */
+ hr = pCreateAssemblyEnum(NULL, NULL, asmname, ASM_CACHE_GAC, NULL);
+ ok(hr == E_INVALIDARG, "Expected E_INVALIDARG, got %08x\n", hr);
+ }
/* pName is NULL */
asmenum = NULL;
More information about the wine-cvs
mailing list