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

André Hentschel nerv at dawncrow.de
Sun Sep 9 07:35:21 CDT 2018


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

diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c
index 5d541466e3..9cc3793bc7 100644
--- a/dlls/oleaut32/tests/safearray.c
+++ b/dlls/oleaut32/tests/safearray.c
@@ -2018,9 +2018,10 @@ 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);
-  /* There seems to be a bug on windows, especially visible on 64bit systems,
-     probably double-free of similar issue. */
+todo_wine
+  ok(sa->pvData == NULL || broken(sa->pvData != NULL), "got %p\n", sa->pvData);
+  /* There was a bug on windows, especially visible on 64bit systems,
+     probably double-free or similar issue. */
   sa->pvData = NULL;
   SafeArrayDestroy(sa);
 }
-- 
2.17.1




More information about the wine-devel mailing list