mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:15:52 +00:00
sync setupapi_winetest with wine 1.1.35
svn path=/trunk/; revision=44699
This commit is contained in:
parent
f295e17dd7
commit
b38cabca31
5 changed files with 313 additions and 35 deletions
|
@ -167,14 +167,15 @@ static void test_SetupGetInfInformation(void)
|
|||
broken(GetLastError() == ERROR_FILE_NOT_FOUND) || /* win98 */
|
||||
broken(GetLastError() == ERROR_PATH_NOT_FOUND) || /* NT4 */
|
||||
broken(GetLastError() == ERROR_INVALID_NAME) || /* win2k */
|
||||
broken(GetLastError() == ERROR_GENERAL_SYNTAX), /* another win2k */
|
||||
broken(GetLastError() == ERROR_GENERAL_SYNTAX), /* another win2k / winMe */
|
||||
"Expected ERROR_INVALID_HANDLE, got %d\n", GetLastError());
|
||||
ok(size == 0xdeadbeef, "Expected size to remain unchanged\n");
|
||||
|
||||
/* try an invalid inf filename */
|
||||
/* do not use NULL as absolute inf filename on win9x (crash) */
|
||||
/* do not use NULL as absolute inf filename on win9x/winMe (crash) */
|
||||
if ((GetLastError() != ERROR_BAD_PATHNAME) && /* win95 */
|
||||
(GetLastError() != ERROR_FILE_NOT_FOUND)) /* win98 */
|
||||
(GetLastError() != ERROR_FILE_NOT_FOUND) && /* win98 */
|
||||
(GetLastError() != ERROR_GENERAL_SYNTAX)) /* winMe */
|
||||
{
|
||||
size = 0xdeadbeef;
|
||||
SetLastError(0xbeefcafe);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue