From 960cef83076aafbcda4842d0ba505dbbd79caf81 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Fri, 3 Feb 2017 11:45:25 +0000 Subject: [PATCH] dmcompos/tests: Fix a failing test on Windows 8. The dirty bit is most likely uninitialized, so sometimes this returns S_OK. Signed-off-by: Huw Davies Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/dmcompos/tests/dmcompos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dmcompos/tests/dmcompos.c b/dlls/dmcompos/tests/dmcompos.c index 4e9a80d603e..fd68ac374cb 100644 --- a/dlls/dmcompos/tests/dmcompos.c +++ b/dlls/dmcompos/tests/dmcompos.c @@ -252,7 +252,7 @@ static void test_chordmap(void) /* Unimplemented IPersistStream methods */ hr = IPersistStream_IsDirty(ps); - ok(hr == S_FALSE, "IPersistStream_IsDirty failed: %08x\n", hr); + ok(hr == S_FALSE || broken(hr == S_OK), "IPersistStream_IsDirty failed: %08x\n", hr); hr = IPersistStream_GetSizeMax(ps, &size); ok(hr == E_NOTIMPL, "IPersistStream_GetSizeMax failed: %08x\n", hr); hr = IPersistStream_Save(ps, NULL, TRUE);