Module: wine Branch: master Commit: b426a9a0848a95f2ad63b9a32897571f8da47e7c URL: http://source.winehq.org/git/wine.git/?a=commit;h=b426a9a0848a95f2ad63b9a328...
Author: André Hentschel nerv@dawncrow.de Date: Mon May 23 21:14:34 2011 +0200
mscoree/tests: Fix for the results in CreateConfigStream tests.
---
dlls/mscoree/tests/mscoree.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/mscoree/tests/mscoree.c b/dlls/mscoree/tests/mscoree.c index f80dbb4..308db41 100644 --- a/dlls/mscoree/tests/mscoree.c +++ b/dlls/mscoree/tests/mscoree.c @@ -287,13 +287,14 @@ static void test_createconfigstream(void) GetFullPathNameW(file, MAX_PATH, path, NULL);
hr = pCreateConfigStream(NULL, &stream); - todo_wine ok(hr == E_FAIL, "CreateConfigStream returned %x\n", hr); + todo_wine ok(hr == E_FAIL || broken(hr == ERROR_PROC_NOT_FOUND), /* some WinXP, Win2K3 and Win7 */ + "CreateConfigStream returned %x\n", hr);
hr = pCreateConfigStream(path, NULL); - todo_wine ok(hr == E_POINTER, "CreateConfigStream returned %x\n", hr); + todo_wine ok(hr == COR_E_NULLREFERENCE, "CreateConfigStream returned %x\n", hr);
hr = pCreateConfigStream(NULL, NULL); - todo_wine ok(hr == E_POINTER, "CreateConfigStream returned %x\n", hr); + todo_wine ok(hr == COR_E_NULLREFERENCE, "CreateConfigStream returned %x\n", hr);
hr = pCreateConfigStream(nonexistent, &stream); todo_wine ok(hr == COR_E_FILENOTFOUND, "CreateConfigStream returned %x\n", hr);