Nicolas Le Cam : kernel32/tests: Fix a failing test in Vista.

Alexandre Julliard julliard at winehq.org
Wed Jul 23 07:10:11 CDT 2008


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

Author: Nicolas Le Cam <niko.lecam at gmail.com>
Date:   Sun Jul 20 23:35:03 2008 +0200

kernel32/tests: Fix a failing test in Vista.

---

 dlls/kernel32/tests/locale.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/tests/locale.c b/dlls/kernel32/tests/locale.c
index c234921..59d02cf 100644
--- a/dlls/kernel32/tests/locale.c
+++ b/dlls/kernel32/tests/locale.c
@@ -840,7 +840,7 @@ static void test_CompareStringA(void)
 
     /* test for CompareStringA flags */
     SetLastError(0xdeadbeef);
-    ret = CompareStringA(LOCALE_SYSTEM_DEFAULT, 0x10, "NULL", -1, "NULL", -1);
+    ret = CompareStringA(LOCALE_SYSTEM_DEFAULT, 0x8, "NULL", -1, "NULL", -1);
     ok(GetLastError() == ERROR_INVALID_FLAGS,
         "unexpected error code %d\n", GetLastError());
     ok(!ret, "CompareStringA must fail with invalid flag\n");




More information about the wine-cvs mailing list