kernel32/tests: Pass test on error code returned by Windows 7.

This commit is contained in:
Dmitry Kislyuk 2009-10-05 04:50:30 -05:00 committed by Alexandre Julliard
parent ce5ae1ae51
commit c81d1e78f7
1 changed files with 3 additions and 2 deletions

View File

@ -844,8 +844,9 @@ static void test_GetPrivateProfileString(const char *content, const char *descri
ok( ret == 0, "expected return size 0, got %d\n", ret );
ok(!lstrcmpA(buf, ""), "Expected \"\", got \"%s\"\n", buf);
todo_wine
ok( GetLastError() == 0xdeadbeef , "expected 0xdeadbeef, got %d\n",
GetLastError());
ok( GetLastError() == 0xdeadbeef ||
GetLastError() == ERROR_FILE_NOT_FOUND /* Win 7 */,
"expected 0xdeadbeef or ERROR_FILE_NOT_FOUND, got %d\n", GetLastError());
DeleteFileA(path);