[PATCH] user32/tests: Mark newer Win10 behaviour as broken

Alexandre Julliard julliard at winehq.org
Mon Sep 17 11:33:41 CDT 2018


André Hentschel <nerv at dawncrow.de> writes:

> Signed-off-by: André Hentschel <nerv at dawncrow.de>
> ---
>  dlls/user32/tests/monitor.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/user32/tests/monitor.c b/dlls/user32/tests/monitor.c
> index f4c1a4b17c..8ba6cc267b 100644
> --- a/dlls/user32/tests/monitor.c
> +++ b/dlls/user32/tests/monitor.c
> @@ -585,7 +585,7 @@ static void test_display_config(void)
>      paths = modes = 100;
>      ret = pGetDisplayConfigBufferSizes(0, &paths, &modes);
>      ok(ret == ERROR_INVALID_PARAMETER || ret == ERROR_NOT_SUPPORTED, "got %d\n", ret);
> -    ok(modes == 0 && paths == 0, "got %u, %u\n", modes, paths);
> +    ok((modes == 0 || broken(modes == 100)) && paths == 0, "got %u, %u\n", modes, paths);

This looks like a reasonable result at least for the
ERROR_INVALID_PARAMETER case, I'm not sure why you'd consider it broken.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list