kernel/tests: Wrong error code checked.
This commit is contained in:
parent
2bd9c59c49
commit
f2f44de6dc
|
@ -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 New Issue