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
a5b1d515
Commit
a5b1d515
authored
Aug 26, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Also test the IOSB status in test_volume_info().
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fba17460
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
pipe.c
dlls/ntdll/tests/pipe.c
+4
-0
No files found.
dlls/ntdll/tests/pipe.c
View file @
a5b1d515
...
...
@@ -1662,8 +1662,10 @@ static void test_volume_info(void)
PIPE_TYPE_MESSAGE
,
4096
))
return
;
memset
(
buffer
,
0xaa
,
sizeof
(
buffer
)
);
memset
(
&
iosb
,
0xaa
,
sizeof
(
iosb
)
);
status
=
pNtQueryVolumeInformationFile
(
read
,
&
iosb
,
buffer
,
sizeof
(
buffer
),
FileFsDeviceInformation
);
ok
(
status
==
STATUS_SUCCESS
,
"NtQueryVolumeInformationFile failed: %x
\n
"
,
status
);
ok
(
iosb
.
Status
==
STATUS_SUCCESS
,
"got status %#x
\n
"
,
iosb
.
Status
);
ok
(
iosb
.
Information
==
sizeof
(
*
device_info
),
"Information = %lu
\n
"
,
iosb
.
Information
);
device_info
=
(
FILE_FS_DEVICE_INFORMATION
*
)
buffer
;
ok
(
device_info
->
DeviceType
==
FILE_DEVICE_NAMED_PIPE
,
"DeviceType = %u
\n
"
,
device_info
->
DeviceType
);
...
...
@@ -1671,8 +1673,10 @@ static void test_volume_info(void)
"Characteristics = %x
\n
"
,
device_info
->
Characteristics
);
memset
(
buffer
,
0xaa
,
sizeof
(
buffer
)
);
memset
(
&
iosb
,
0xaa
,
sizeof
(
iosb
)
);
status
=
pNtQueryVolumeInformationFile
(
write
,
&
iosb
,
buffer
,
sizeof
(
buffer
),
FileFsDeviceInformation
);
ok
(
status
==
STATUS_SUCCESS
,
"NtQueryVolumeInformationFile failed: %x
\n
"
,
status
);
ok
(
iosb
.
Status
==
STATUS_SUCCESS
,
"got status %#x
\n
"
,
iosb
.
Status
);
ok
(
iosb
.
Information
==
sizeof
(
*
device_info
),
"Information = %lu
\n
"
,
iosb
.
Information
);
device_info
=
(
FILE_FS_DEVICE_INFORMATION
*
)
buffer
;
ok
(
device_info
->
DeviceType
==
FILE_DEVICE_NAMED_PIPE
,
"DeviceType = %u
\n
"
,
device_info
->
DeviceType
);
...
...
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