Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
209acc5c
Commit
209acc5c
authored
Jul 30, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix compilation on systems that don't support nameless unions.
parent
bb471a54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
pipe.c
dlls/ntdll/tests/pipe.c
+6
-6
No files found.
dlls/ntdll/tests/pipe.c
View file @
209acc5c
...
...
@@ -210,7 +210,7 @@ static void test_overlapped(void)
hClient
=
CreateFileW
(
testpipe
,
GENERIC_READ
|
GENERIC_WRITE
,
0
,
0
,
OPEN_EXISTING
,
0
,
0
);
ok
(
hClient
!=
INVALID_HANDLE_VALUE
,
"can't open pipe, GetLastError: %x
\n
"
,
GetLastError
());
ok
(
iosb
.
Status
==
0
,
"Wrong iostatus %x
\n
"
,
iosb
.
Status
);
ok
(
U
(
iosb
).
Status
==
0
,
"Wrong iostatus %x
\n
"
,
U
(
iosb
)
.
Status
);
ok
(
WaitForSingleObject
(
hEvent
,
0
)
==
0
,
"hEvent not signaled
\n
"
);
ok
(
!
ioapc_called
,
"IOAPC ran too early
\n
"
);
...
...
@@ -281,7 +281,7 @@ static void test_alertable(void)
todo_wine
ok
(
res
==
STATUS_CANCELLED
,
"NtFsControlFile returned %x
\n
"
,
res
);
todo_wine
ok
(
userapc_called
,
"user apc didn't run
\n
"
);
ok
(
iosb
.
Status
==
0x55555555
,
"iosb.Status got changed to %x
\n
"
,
iosb
.
Status
);
ok
(
U
(
iosb
).
Status
==
0x55555555
,
"iosb.Status got changed to %x
\n
"
,
U
(
iosb
)
.
Status
);
todo_wine
ok
(
WaitForSingleObjectEx
(
hEvent
,
0
,
TRUE
)
==
WAIT_TIMEOUT
,
"hEvent signaled
\n
"
);
ok
(
!
ioapc_called
,
"IOAPC ran
\n
"
);
...
...
@@ -295,7 +295,7 @@ static void test_alertable(void)
todo_wine
ok
(
res
==
STATUS_CANCELLED
,
"NtFsControlFile returned %x
\n
"
,
res
);
ok
(
userapc_called
,
"user apc didn't run
\n
"
);
todo_wine
ok
(
iosb
.
Status
==
0x55555555
,
"iosb.Status got changed to %x
\n
"
,
iosb
.
Status
);
todo_wine
ok
(
U
(
iosb
).
Status
==
0x55555555
,
"iosb.Status got changed to %x
\n
"
,
U
(
iosb
)
.
Status
);
ok
(
WaitForSingleObjectEx
(
hEvent
,
0
,
TRUE
)
==
WAIT_TIMEOUT
,
"hEvent signaled
\n
"
);
ok
(
!
ioapc_called
,
"IOAPC ran
\n
"
);
...
...
@@ -316,7 +316,7 @@ static void test_alertable(void)
todo_wine
ok
(
!
res
,
"NtFsControlFile returned %x
\n
"
,
res
);
ok
(
open_succeded
,
"couldn't open client side pipe
\n
"
);
ok
(
!
iosb
.
Status
,
"Wrong iostatus %x
\n
"
,
iosb
.
Status
);
ok
(
!
U
(
iosb
).
Status
,
"Wrong iostatus %x
\n
"
,
U
(
iosb
)
.
Status
);
todo_wine
ok
(
WaitForSingleObject
(
hEvent
,
0
)
==
0
,
"hEvent not signaled
\n
"
);
WaitForSingleObject
(
hThread
,
INFINITE
);
...
...
@@ -351,7 +351,7 @@ static void test_nonalertable(void)
todo_wine
ok
(
!
res
,
"NtFsControlFile returned %x
\n
"
,
res
);
ok
(
open_succeded
,
"couldn't open client side pipe
\n
"
);
todo_wine
ok
(
!
iosb
.
Status
,
"Wrong iostatus %x
\n
"
,
iosb
.
Status
);
todo_wine
ok
(
!
U
(
iosb
).
Status
,
"Wrong iostatus %x
\n
"
,
U
(
iosb
)
.
Status
);
todo_wine
ok
(
WaitForSingleObject
(
hEvent
,
0
)
==
0
,
"hEvent not signaled
\n
"
);
ok
(
!
ioapc_called
,
"IOAPC ran too early
\n
"
);
...
...
@@ -391,7 +391,7 @@ static void test_cancelio(void)
todo_wine
ok
(
!
res
,
"NtCancelIoFile returned %x
\n
"
,
res
);
todo_wine
{
ok
(
iosb
.
Status
==
STATUS_CANCELLED
,
"Wrong iostatus %x
\n
"
,
iosb
.
Status
);
ok
(
U
(
iosb
).
Status
==
STATUS_CANCELLED
,
"Wrong iostatus %x
\n
"
,
U
(
iosb
)
.
Status
);
ok
(
WaitForSingleObject
(
hEvent
,
0
)
==
0
,
"hEvent not signaled
\n
"
);
}
...
...
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