Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8ad9ddaa
Commit
8ad9ddaa
authored
Apr 04, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Workaround broken behavior in Win7 Pro64.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
24069aad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
console.c
dlls/kernel32/tests/console.c
+6
-4
No files found.
dlls/kernel32/tests/console.c
View file @
8ad9ddaa
...
...
@@ -3300,10 +3300,12 @@ static void test_ReadConsole(HANDLE input)
SetLastError
(
0xdeadbeef
);
ret
=
GetFileSize
(
input
,
NULL
);
ok
(
ret
==
INVALID_FILE_SIZE
,
"expected INVALID_FILE_SIZE, got %#lx
\n
"
,
ret
);
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
||
GetLastError
()
==
ERROR_INVALID_FUNCTION
,
/* Win 8, 10 */
"expected ERROR_INVALID_HANDLE, got %ld
\n
"
,
GetLastError
());
ok
(
ret
==
INVALID_FILE_SIZE
||
broken
(
TRUE
),
/* only Win7 pro64 on 64bit returns a valid file size here */
"expected INVALID_FILE_SIZE, got %#lx
\n
"
,
ret
);
if
(
ret
==
INVALID_FILE_SIZE
)
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
||
GetLastError
()
==
ERROR_INVALID_FUNCTION
,
/* Win 8, 10 */
"expected ERROR_INVALID_HANDLE, got %ld
\n
"
,
GetLastError
());
bytes
=
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment