mmdevapi/tests: Fix failure on Vista.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrew Eikum 2016-08-26 11:44:27 -05:00 committed by Alexandre Julliard
parent 6dc6f7fe4d
commit 25dbca10dc
1 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,8 @@ static void test_getat(IPropertyStore *store)
if (IsEqualPropertyKey(pkey, DEVPKEY_Device_DeviceDesc)) if (IsEqualPropertyKey(pkey, DEVPKEY_Device_DeviceDesc))
found_desc = TRUE; found_desc = TRUE;
} }
ok(found_name, "DEVPKEY_Device_FriendlyName not found\n"); ok(found_name ||
broken(!found_name) /* vista */, "DEVPKEY_Device_FriendlyName not found\n");
ok(found_desc, "DEVPKEY_Device_DeviceDesc not found\n"); ok(found_desc, "DEVPKEY_Device_DeviceDesc not found\n");
} }