Module: wine Branch: master Commit: fe75e958059bb301d140356a35faaab37a7a5669 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fe75e958059bb301d140356a35...
Author: André Hentschel nerv@dawncrow.de Date: Wed Nov 10 00:07:08 2010 +0100
mmdevapi/tests: Fix test on some 2k8 and mark those errors broken.
---
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);