mmdevapi/tests: Fix test on some 2k8 and mark those errors broken
André Hentschel
nerv at dawncrow.de
Tue Nov 9 17:07:08 CST 2010
---
dlls/mmdevapi/tests/render.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/mmdevapi/tests/render.c b/dlls/mmdevapi/tests/render.c
index 254c94d..70d6b39 100644
--- a/dlls/mmdevapi/tests/render.c
+++ b/dlls/mmdevapi/tests/render.c
@@ -208,8 +208,9 @@ static void test_audioclient(IAudioClient *ac)
hr = IAudioClient_SetEventHandle(ac, handle);
ok(hr == AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED ||
- hr == HRESULT_FROM_WIN32(ERROR_INVALID_NAME) ||
- hr == HRESULT_FROM_WIN32(ERROR_BAD_PATHNAME) /* Some Vista */
+ broken(hr == HRESULT_FROM_WIN32(ERROR_INVALID_NAME)) ||
+ broken(hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)) /* Some 2k8 */ ||
+ broken(hr == HRESULT_FROM_WIN32(ERROR_BAD_PATHNAME)) /* Some Vista */
, "SetEventHandle returns %08x\n", hr);
hr = IAudioClient_Reset(ac);
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list