ole32: Fix test under NT
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Wed May 29 02:06:02 CDT 2013
Hi,
Changelog:
ole32: Fix test under NT
Best Regards
Alistair Leslie-Hughes
-------------- next part --------------
>From c1e1ccaea93cdfe24c22c62246239a1492d0d475 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Tue, 28 May 2013 20:51:01 +1000
Subject: [PATCH] Fix test under NT
To: wine-patches <wine-patches at winehq.org>
---
dlls/ole32/tests/storage32.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/ole32/tests/storage32.c b/dlls/ole32/tests/storage32.c
index 4f12d8b..9d99c38 100644
--- a/dlls/ole32/tests/storage32.c
+++ b/dlls/ole32/tests/storage32.c
@@ -1962,7 +1962,9 @@ static void test_access(void)
IStorage_Release(stg);
hr = StgOpenStorage(fileW, NULL, STGM_DIRECT_SWMR | STGM_READ | STGM_SHARE_DENY_NONE, NULL, 0, &stg);
- ok(hr == S_OK, "got %08x\n", hr);
+ ok(hr == S_OK || broken(hr == STG_E_INVALIDFLAG), "got %08x\n", hr);
+ if(hr != S_OK)
+ return;
test_file_access(fileA, create);
--
1.8.1.2
More information about the wine-patches
mailing list