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
b3167770
Commit
b3167770
authored
Dec 11, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix a test crash on latest Windows 10.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bcab6625
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
directory.c
dlls/ntdll/tests/directory.c
+5
-1
No files found.
dlls/ntdll/tests/directory.c
View file @
b3167770
...
@@ -563,13 +563,17 @@ static void test_NtQueryDirectoryFile(void)
...
@@ -563,13 +563,17 @@ static void test_NtQueryDirectoryFile(void)
ok
(
U
(
io
).
Status
==
STATUS_BUFFER_OVERFLOW
,
"wrong status %x
\n
"
,
U
(
io
).
Status
);
ok
(
U
(
io
).
Status
==
STATUS_BUFFER_OVERFLOW
,
"wrong status %x
\n
"
,
U
(
io
).
Status
);
ok
(
U
(
io
).
Information
==
data_size
||
broken
(
U
(
io
).
Information
==
0
),
ok
(
U
(
io
).
Information
==
data_size
||
broken
(
U
(
io
).
Information
==
0
),
"wrong info %lx
\n
"
,
U
(
io
).
Information
);
"wrong info %lx
\n
"
,
U
(
io
).
Information
);
ok
(
fbdi
->
NextEntryOffset
==
0
,
"wrong offset %x
\n
"
,
fbdi
->
NextEntryOffset
);
ok
(
fbdi
->
NextEntryOffset
==
0
||
fbdi
->
NextEntryOffset
==
0x55555555
,
/* win10 >= 1709 */
"wrong offset %x
\n
"
,
fbdi
->
NextEntryOffset
);
if
(
!
fbdi
->
NextEntryOffset
)
{
ok
(
fbdi
->
FileNameLength
==
lstrlenW
(
testfiles
[
0
].
name
)
*
sizeof
(
WCHAR
),
ok
(
fbdi
->
FileNameLength
==
lstrlenW
(
testfiles
[
0
].
name
)
*
sizeof
(
WCHAR
),
"wrong length %x
\n
"
,
fbdi
->
FileNameLength
);
"wrong length %x
\n
"
,
fbdi
->
FileNameLength
);
ok
(
filename
[
0
]
==
testfiles
[
0
].
name
[
0
],
"incorrect long file name: %s
\n
"
,
ok
(
filename
[
0
]
==
testfiles
[
0
].
name
[
0
],
"incorrect long file name: %s
\n
"
,
wine_dbgstr_wn
(
fbdi
->
FileName
,
fbdi
->
FileNameLength
/
sizeof
(
WCHAR
)));
wine_dbgstr_wn
(
fbdi
->
FileName
,
fbdi
->
FileNameLength
/
sizeof
(
WCHAR
)));
ok
(
filename
[
1
]
==
0x5555
,
"incorrect long file name: %s
\n
"
,
ok
(
filename
[
1
]
==
0x5555
,
"incorrect long file name: %s
\n
"
,
wine_dbgstr_wn
(
fbdi
->
FileName
,
fbdi
->
FileNameLength
/
sizeof
(
WCHAR
)));
wine_dbgstr_wn
(
fbdi
->
FileName
,
fbdi
->
FileNameLength
/
sizeof
(
WCHAR
)));
}
test_NtQueryDirectoryFile_classes
(
dirh
,
&
mask
);
test_NtQueryDirectoryFile_classes
(
dirh
,
&
mask
);
...
...
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