=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: user32/tests: Allow newer Win10 behaviour.

Alexandre Julliard julliard at winehq.org
Tue Sep 18 15:14:32 CDT 2018


Module: wine
Branch: master
Commit: bfad5527acacbdbac623da57413a60c532218423
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bfad5527acacbdbac623da57413a60c532218423

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Sep 18 20:19:10 2018 +0200

user32/tests: Allow newer Win10 behaviour.

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 f4c1a4b..8f1b2c6 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 || modes == 100) && paths == 0, "got %u, %u\n", modes, paths);
 }
 
 START_TEST(monitor)




More information about the wine-cvs mailing list