crypt32/tests: Fix a test failure on Windows 7

Juan Lang juan.lang at gmail.com
Fri Aug 21 11:13:31 CDT 2009


--Juan
-------------- next part --------------
From 8e3db322e874d737b6756fd5521db80bb1df95ca Mon Sep 17 00:00:00 2001
From: Juan Lang <juan.lang at gmail.com>
Date: Fri, 21 Aug 2009 09:14:38 -0700
Subject: [PATCH 2/2] Fix a test failure on Windows 7

---
 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 8b680c4..ff7ea66 100644
--- a/dlls/crypt32/tests/oid.c
+++ b/dlls/crypt32/tests/oid.c
@@ -105,7 +105,8 @@ static void testOIDToAlgID(void)
        GetLastError() == ERROR_RESOURCE_NAME_NOT_FOUND ||
        GetLastError() == ERROR_INVALID_PARAMETER || /* Vista */
        GetLastError() == ERROR_SUCCESS || /* win2k */
-       GetLastError() == ERROR_FILE_INVALID, /* another Vista */
+       GetLastError() == ERROR_FILE_INVALID || /* another Vista */
+       GetLastError() == ERROR_SXS_KEY_NOT_FOUND /* Windows 7 */
        "Expected ERROR_RESOURCE_NAME_NOT_FOUND, ERROR_INVALID_PARAMETER, "
        "ERROR_SUCCESS or no error set, got %08x\n", GetLastError());
 
-- 
1.6.3.2


More information about the wine-patches mailing list