mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
kernel/tests: Wrong error code checked.
This commit is contained in:
parent
2bd9c59c49
commit
f2f44de6dc
1 changed files with 3 additions and 1 deletions
|
@ -1214,7 +1214,9 @@ static void test_FindFirstFileA(void)
|
|||
handle = FindFirstFileA(buffer2, &search_results);
|
||||
err = GetLastError();
|
||||
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
|
||||
ok ( err == ERROR_FILE_NOT_FOUND, "Bad Error number %d\n", err );
|
||||
todo_wine {
|
||||
ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err );
|
||||
}
|
||||
|
||||
/* try FindFirstFileA on "C:\foo\bar.txt" */
|
||||
SetLastError( 0xdeadbeaf );
|
||||
|
|
Loading…
Reference in a new issue