From: Rémi Bernon rbernon@codeweavers.com
--- dlls/cfgmgr32/tests/cfgmgr32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/cfgmgr32/tests/cfgmgr32.c b/dlls/cfgmgr32/tests/cfgmgr32.c index c683995732e..95f64698733 100644 --- a/dlls/cfgmgr32/tests/cfgmgr32.c +++ b/dlls/cfgmgr32/tests/cfgmgr32.c @@ -480,7 +480,7 @@ static void test_CM_Get_Device_Interface_List(void) ok(count == count2, "got %u, expected %u.\n", count, count2);
ret = CM_Get_Device_Interface_PropertyW(L"qqq", &DEVPKEY_Device_InstanceId, &type, (BYTE *)instance_id, &size, 0); - ok(ret == CR_NO_SUCH_DEVICE_INTERFACE, "got %#lx.\n", ret); + ok(ret == CR_NO_SUCH_DEVICE_INTERFACE || broken(ret == CR_INVALID_DATA) /* w7 */, "got %#lx.\n", ret); }
START_TEST(cfgmgr32)
Maybe it is the time to consider stopping caring about Windows 7 test failures (at least not the ones which prevent the whole bunch of tests from running altogether, like statically linking to missing export or crashing the test)? Even Windows 10 is going to hit end of life this year.