Alexandre Julliard : mlang/tests: Fix a test failure on Win2k.
Alexandre Julliard
julliard at winehq.org
Fri Feb 5 08:42:32 CST 2010
Module: wine
Branch: master
Commit: d8d70020d8c4766d59a8d4e6974d41a451843699
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d8d70020d8c4766d59a8d4e6974d41a451843699
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Feb 5 11:50:24 2010 +0100
mlang/tests: Fix a test failure on Win2k.
---
dlls/mlang/tests/mlang.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/mlang/tests/mlang.c b/dlls/mlang/tests/mlang.c
index e29da39..11e26db 100644
--- a/dlls/mlang/tests/mlang.c
+++ b/dlls/mlang/tests/mlang.c
@@ -1946,7 +1946,8 @@ static void test_IsCodePageInstallable(IMultiLanguage2 *ml2)
* up an installation dialog on some platforms, even when specifying CPIOD_PEEK.
*/
if (IsValidCodePage(i))
- ok(hr == S_OK, "code page %u is valid but not installable 0x%08x\n", i, hr);
+ ok(hr == S_OK || broken(hr == E_INVALIDARG), /* win2k */
+ "code page %u is valid but not installable 0x%08x\n", i, hr);
}
}
More information about the wine-cvs
mailing list