mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
kernel32/tests: Pass test on error code returned by Windows 7.
This commit is contained in:
parent
ce5ae1ae51
commit
c81d1e78f7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user