Alexandre Julliard : kernel32/tests: Add a couple of last error codes for Win7.
Alexandre Julliard
julliard at winehq.org
Tue Feb 23 11:17:20 CST 2010
Module: wine
Branch: master
Commit: 25718e1af3f61c1cacbfb8c6ba55b24cf20e6c1b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=25718e1af3f61c1cacbfb8c6ba55b24cf20e6c1b
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Feb 23 11:24:08 2010 +0100
kernel32/tests: Add a couple of last error codes for Win7.
---
dlls/kernel32/tests/format_msg.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/tests/format_msg.c b/dlls/kernel32/tests/format_msg.c
index 822667c..228f4d0 100644
--- a/dlls/kernel32/tests/format_msg.c
+++ b/dlls/kernel32/tests/format_msg.c
@@ -709,6 +709,7 @@ static void test_message_from_hmodule(void)
ok(ret == 0, "FormatMessageA returned %u instead of 0\n", ret);
ok(error == ERROR_RESOURCE_LANG_NOT_FOUND ||
error == ERROR_MR_MID_NOT_FOUND ||
+ error == ERROR_MUI_FILE_NOT_FOUND ||
error == ERROR_MUI_FILE_NOT_LOADED,
"last error %u\n", error);
@@ -719,7 +720,8 @@ static void test_message_from_hmodule(void)
ok(ret == 0, "FormatMessageA returned %u instead of 0\n", ret);
ok(error == ERROR_RESOURCE_LANG_NOT_FOUND ||
error == ERROR_MR_MID_NOT_FOUND ||
- error == ERROR_MUI_FILE_NOT_FOUND,
+ error == ERROR_MUI_FILE_NOT_FOUND ||
+ error == ERROR_MUI_FILE_NOT_LOADED,
"last error %u\n", error);
}
More information about the wine-cvs
mailing list