[HLINK_WINETEST] Sync with Wine Staging 2.2. CORE-12823
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 26 Feb 2017 17:21:30 +0000 (17:21 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 26 Feb 2017 17:21:30 +0000 (17:21 +0000)
svn path=/trunk/; revision=73947

rostests/winetests/hlink/hlink.c

index 8a01f19..50f61d5 100644 (file)
@@ -400,6 +400,14 @@ static void test_persist_save_data(const char *testname, IHlink *lnk,
         same = TRUE;
         for (i = 0; i < min(data_size, expected_data_alt_size); i++)
         {
+            if ((expected_data_alt == expected_hlink_data_ie7  && i == 89)  /* Win10 */ ||
+                (expected_data_alt == expected_hlink_data2_ie7 && i == 109) /* Win10 */ ||
+                (expected_data_alt == expected_hlink_data3_ie7 && i == 109) /* Win10 */ ||
+                (expected_data_alt == expected_hlink_data5_ie7 && i == 107) /* Win10 */)
+            {
+                ok(data[i] == 0 || broken(data[i] == 1), "Expected 0 or 1, got %d\n", data[i]);
+                continue;
+            }
             if ((expected_data_alt[i] != data[i]) &&
                 (((expected_data_alt != expected_hlink_data2) &&
                   (expected_data_alt != expected_hlink_data3)) ||