James Hawkins : crypt32: Fix a failing test in Vista.

Alexandre Julliard julliard at winehq.org
Thu Sep 11 08:00:34 CDT 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Wed Sep 10 23:00:53 2008 -0500

crypt32: Fix a failing test in Vista.

---

 dlls/crypt32/tests/oid.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c
index a583fc7..1145131 100644
--- a/dlls/crypt32/tests/oid.c
+++ b/dlls/crypt32/tests/oid.c
@@ -103,7 +103,8 @@ static void testOIDToAlgID(void)
     ok(GetLastError() == 0xdeadbeef ||
        GetLastError() == ERROR_RESOURCE_NAME_NOT_FOUND ||
        GetLastError() == ERROR_INVALID_PARAMETER || /* Vista */
-       GetLastError() == ERROR_SUCCESS, /* win2k */
+       GetLastError() == ERROR_SUCCESS || /* win2k */
+       GetLastError() == ERROR_FILE_INVALID, /* another Vista */
        "Expected ERROR_RESOURCE_NAME_NOT_FOUND, ERROR_INVALID_PARAMETER, "
        "ERROR_SUCCESS or no error set, got %08x\n", GetLastError());
 




More information about the wine-cvs mailing list