Module: wine Branch: master Commit: 25dbca10dcf6a67628f336dbd959ecfd1181e9e3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=25dbca10dcf6a67628f336dbd9...
Author: Andrew Eikum aeikum@codeweavers.com Date: Fri Aug 26 11:44:27 2016 -0500
mmdevapi/tests: Fix failure on Vista.
Signed-off-by: Andrew Eikum aeikum@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mmdevapi/tests/propstore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/mmdevapi/tests/propstore.c b/dlls/mmdevapi/tests/propstore.c index 6447113..02340ba 100644 --- a/dlls/mmdevapi/tests/propstore.c +++ b/dlls/mmdevapi/tests/propstore.c @@ -118,7 +118,8 @@ static void test_getat(IPropertyStore *store) if (IsEqualPropertyKey(pkey, DEVPKEY_Device_DeviceDesc)) 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"); }