[PATCH] oleaut32/tests: Adjust test to a fixed Windows bug

André Hentschel nerv at dawncrow.de
Sun May 6 14:14:51 CDT 2018


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 dlls/oleaut32/tests/safearray.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c
index 5ff29b3..883d484 100644
--- a/dlls/oleaut32/tests/safearray.c
+++ b/dlls/oleaut32/tests/safearray.c
@@ -2020,7 +2020,8 @@ static void test_SafeArrayDestroyData (void)
   ok(hres == S_OK, "got 0x%08x\n", hres);
 todo_wine
   ok(sa->fFeatures == FADF_HAVEVARTYPE, "got 0x%x\n", sa->fFeatures);
-  ok(sa->pvData != NULL, "got %p\n", sa->pvData);
+todo_wine
+  ok(sa->pvData == NULL || broken(sa->pvData != NULL), "got %p\n", sa->pvData);
   /* There seems to be a bug on windows, especially visible on 64bit systems,
      probably double-free of similar issue. */
   sa->pvData = NULL;
-- 
2.7.4




More information about the wine-devel mailing list