wintrust/tests: Fix failing test on win8.
Huw Davies
huw at codeweavers.com
Tue May 6 10:29:36 CDT 2014
---
dlls/wintrust/tests/crypt.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/wintrust/tests/crypt.c b/dlls/wintrust/tests/crypt.c
index 4d9061b..55f9ece 100644
--- a/dlls/wintrust/tests/crypt.c
+++ b/dlls/wintrust/tests/crypt.c
@@ -551,7 +551,9 @@ static void test_CryptCATAdminAddRemoveCatalog(void)
hcatinfo = pCryptCATAdminAddCatalog(hcatadmin, tmpfileW, basenameW, 1);
error = GetLastError();
ok(hcatinfo == NULL, "CryptCATAdminAddCatalog succeeded\n");
- ok(error == ERROR_INVALID_PARAMETER, "got %u expected ERROR_INVALID_PARAMETER\n", GetLastError());
+ ok(error == ERROR_INVALID_PARAMETER ||
+ error == ERROR_BAD_FORMAT, /* win 8 */
+ "got %u\n", GetLastError());
SetLastError(0xdeadbeef);
hcatinfo = pCryptCATAdminAddCatalog(hcatadmin, tmpfileW, NULL, 0);
--
1.8.0
More information about the wine-patches
mailing list