dmcompos/tests: Fix a failing test on Windows 8.

Michael Stefaniuc mstefani at redhat.com
Fri Feb 3 07:24:49 CST 2017


On 02/03/2017 12:45 PM, Huw Davies wrote:
> The dirty bit is most likely uninitialized, so sometimes this returns S_OK.
Interesting, that seems to be only newtb-w8 that does that.

Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>

> 
> Signed-off-by: Huw Davies <huw at codeweavers.com>
> ---
>  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 4e9a80d..fd68ac3 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);





More information about the wine-patches mailing list