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
17fbd837
Commit
17fbd837
authored
Sep 22, 2019
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix the spelling of the exerciseServer() function name.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b45d6125
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
pipe.c
dlls/kernel32/tests/pipe.c
+8
-8
No files found.
dlls/kernel32/tests/pipe.c
View file @
17fbd837
...
...
@@ -1343,11 +1343,11 @@ static DWORD CALLBACK serverThreadMain5(LPVOID arg)
return
0
;
}
static
void
exerci
z
eServer
(
const
char
*
pipename
,
HANDLE
serverThread
)
static
void
exerci
s
eServer
(
const
char
*
pipename
,
HANDLE
serverThread
)
{
int
i
;
if
(
winetest_debug
>
1
)
trace
(
"exerci
z
eServer starting
\n
"
);
if
(
winetest_debug
>
1
)
trace
(
"exerci
s
eServer starting
\n
"
);
for
(
i
=
0
;
i
<
NB_SERVER_LOOPS
;
i
++
)
{
HANDLE
hFile
=
INVALID_HANDLE_VALUE
;
static
const
char
obuf
[]
=
"Bit Bucket"
;
...
...
@@ -1390,7 +1390,7 @@ static void exercizeServer(const char *pipename, HANDLE serverThread)
ok
(
WaitForSingleObject
(
serverThread
,
INFINITE
)
==
WAIT_OBJECT_0
,
"WaitForSingleObject
\n
"
);
CloseHandle
(
hnp
);
if
(
winetest_debug
>
1
)
trace
(
"exerci
z
eServer returning
\n
"
);
if
(
winetest_debug
>
1
)
trace
(
"exerci
s
eServer returning
\n
"
);
}
static
void
test_NamedPipe_2
(
void
)
...
...
@@ -1416,31 +1416,31 @@ static void test_NamedPipe_2(void)
SetLastError
(
0xdeadbeef
);
serverThread
=
CreateThread
(
NULL
,
0
,
serverThreadMain1
,
(
void
*
)
8
,
0
,
&
serverThreadId
);
ok
(
serverThread
!=
NULL
,
"CreateThread failed: %d
\n
"
,
GetLastError
());
exerci
z
eServer
(
PIPENAME
"serverThreadMain1"
,
serverThread
);
exerci
s
eServer
(
PIPENAME
"serverThreadMain1"
,
serverThread
);
/* Try server #2 */
SetLastError
(
0xdeadbeef
);
serverThread
=
CreateThread
(
NULL
,
0
,
serverThreadMain2
,
0
,
0
,
&
serverThreadId
);
ok
(
serverThread
!=
NULL
,
"CreateThread failed: %d
\n
"
,
GetLastError
());
exerci
z
eServer
(
PIPENAME
"serverThreadMain2"
,
serverThread
);
exerci
s
eServer
(
PIPENAME
"serverThreadMain2"
,
serverThread
);
/* Try server #3 */
SetLastError
(
0xdeadbeef
);
serverThread
=
CreateThread
(
NULL
,
0
,
serverThreadMain3
,
0
,
0
,
&
serverThreadId
);
ok
(
serverThread
!=
NULL
,
"CreateThread failed: %d
\n
"
,
GetLastError
());
exerci
z
eServer
(
PIPENAME
"serverThreadMain3"
,
serverThread
);
exerci
s
eServer
(
PIPENAME
"serverThreadMain3"
,
serverThread
);
/* Try server #4 */
SetLastError
(
0xdeadbeef
);
serverThread
=
CreateThread
(
NULL
,
0
,
serverThreadMain4
,
0
,
0
,
&
serverThreadId
);
ok
(
serverThread
!=
NULL
,
"CreateThread failed: %d
\n
"
,
GetLastError
());
exerci
z
eServer
(
PIPENAME
"serverThreadMain4"
,
serverThread
);
exerci
s
eServer
(
PIPENAME
"serverThreadMain4"
,
serverThread
);
/* Try server #5 */
SetLastError
(
0xdeadbeef
);
serverThread
=
CreateThread
(
NULL
,
0
,
serverThreadMain5
,
0
,
0
,
&
serverThreadId
);
ok
(
serverThread
!=
NULL
,
"CreateThread failed: %d
\n
"
,
GetLastError
());
exerci
z
eServer
(
PIPENAME
"serverThreadMain5"
,
serverThread
);
exerci
s
eServer
(
PIPENAME
"serverThreadMain5"
,
serverThread
);
ok
(
SetEvent
(
alarm_event
),
"SetEvent
\n
"
);
CloseHandle
(
alarm_event
);
...
...
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