Nikolay Sivov : mf/tests: Fix a test failure on older versions.
Alexandre Julliard
julliard at winehq.org
Wed Mar 4 16:50:07 CST 2020
Module: wine
Branch: master
Commit: 044520a4f77dc04cc2b2853d492fd2219e84c67f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=044520a4f77dc04cc2b2853d492fd2219e84c67f
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Mar 4 11:06:07 2020 +0300
mf/tests: Fix a test failure on older versions.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mf/tests/mf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mf/tests/mf.c b/dlls/mf/tests/mf.c
index aa72e71292..cf98f3d03f 100644
--- a/dlls/mf/tests/mf.c
+++ b/dlls/mf/tests/mf.c
@@ -1138,7 +1138,7 @@ todo_wine
ok(hr == MF_E_SHUTDOWN, "Unexpected hr %#x.\n", hr);
hr = IMFMediaSession_GetClock(session, &clock);
- ok(hr == MF_E_SHUTDOWN, "Unexpected hr %#x.\n", hr);
+ ok(hr == MF_E_SHUTDOWN || broken(hr == E_UNEXPECTED) /* Win7 */, "Unexpected hr %#x.\n", hr);
hr = IMFMediaSession_GetSessionCapabilities(session, &caps);
ok(hr == MF_E_SHUTDOWN, "Unexpected hr %#x.\n", hr);
More information about the wine-cvs
mailing list