[PATCH 2/3] ntdll/tests: Fix virtual test failures on win10pro.

Paul Gofman pgofman at codeweavers.com
Mon Sep 7 06:34:12 CDT 2020


Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
 dlls/ntdll/tests/virtual.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/ntdll/tests/virtual.c b/dlls/ntdll/tests/virtual.c
index 47eb784cbbc..7049f234a9f 100644
--- a/dlls/ntdll/tests/virtual.c
+++ b/dlls/ntdll/tests/virtual.c
@@ -612,7 +612,9 @@ static void test_user_shared_data(void)
 
     for (i = 0; i < ARRAY_SIZE(feature_sizes); ++i)
     {
-        ok(xstate.AllFeatures[i] == feature_sizes[i], "Got unexpected AllFeatures[%u] %u, expected %u.\n", i,
+        ok(xstate.AllFeatures[i] == feature_sizes[i]
+                || broken(!xstate.AllFeatures[i]) /* win10pro */,
+                "Got unexpected AllFeatures[%u] %u, expected %u.\n", i,
                 xstate.AllFeatures[i], feature_sizes[i]);
         ok(xstate.Features[i].Size == feature_sizes[i], "Got unexpected Features[%u].Size %u, expected %u.\n", i,
                 xstate.Features[i].Size, feature_sizes[i]);
-- 
2.26.2




More information about the wine-devel mailing list