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
ae6c2d23
Commit
ae6c2d23
authored
Jan 07, 2017
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: A couple of spelling fixes in ok() messages.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bd42aaa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
pipe.c
dlls/kernel32/tests/pipe.c
+4
-4
No files found.
dlls/kernel32/tests/pipe.c
View file @
ae6c2d23
...
...
@@ -1364,8 +1364,8 @@ static void test_CreatePipe(void)
ok
(
written
==
sizeof
(
PIPENAME
),
"Write to anonymous pipe wrote %d bytes
\n
"
,
written
);
/* and close the write end, read should still succeed*/
ok
(
CloseHandle
(
pipewrite
),
"CloseHandle for the Write Pipe failed
\n
"
);
ok
(
ReadFile
(
piperead
,
readbuf
,
sizeof
(
readbuf
),
&
read
,
NULL
),
"Read from broken pipe with
e with
pending data failed
\n
"
);
ok
(
read
==
sizeof
(
PIPENAME
),
"Read from
anonymous pipe got %d bytes
\n
"
,
read
);
ok
(
ReadFile
(
piperead
,
readbuf
,
sizeof
(
readbuf
),
&
read
,
NULL
),
"Read from broken pipe with pending data failed
\n
"
);
ok
(
read
==
sizeof
(
PIPENAME
),
"Read from anonymous pipe got %d bytes
\n
"
,
read
);
/* But now we need to get informed that the pipe is closed */
ok
(
ReadFile
(
piperead
,
readbuf
,
sizeof
(
readbuf
),
&
read
,
NULL
)
==
0
,
"Broken pipe not detected
\n
"
);
ok
(
CloseHandle
(
piperead
),
"CloseHandle for the read pipe failed
\n
"
);
...
...
@@ -1380,8 +1380,8 @@ static void test_CreatePipe(void)
/* and close the write end, read should still succeed*/
ok
(
CloseHandle
(
pipewrite
),
"CloseHandle for the Write Pipe failed
\n
"
);
memset
(
buffer
,
0
,
size
);
ok
(
ReadFile
(
piperead
,
buffer
,
size
,
&
read
,
NULL
),
"Read from broken pipe with
e with
pending data failed
\n
"
);
ok
(
read
==
size
,
"Read from
anonymous pipe got %d bytes
\n
"
,
read
);
ok
(
ReadFile
(
piperead
,
buffer
,
size
,
&
read
,
NULL
),
"Read from broken pipe with pending data failed
\n
"
);
ok
(
read
==
size
,
"Read from anonymous pipe got %d bytes
\n
"
,
read
);
for
(
i
=
0
;
i
<
size
;
i
++
)
ok
(
buffer
[
i
]
==
(
BYTE
)
i
,
"invalid data %x at %x
\n
"
,
buffer
[
i
],
i
);
/* But now we need to get informed that the pipe is closed */
ok
(
ReadFile
(
piperead
,
readbuf
,
sizeof
(
readbuf
),
&
read
,
NULL
)
==
0
,
"Broken pipe not detected
\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