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
47ddc575
Commit
47ddc575
authored
Sep 14, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Avoid some delays in the process test.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
39dbf09b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
process.c
dlls/kernel32/tests/process.c
+4
-1
No files found.
dlls/kernel32/tests/process.c
View file @
47ddc575
...
...
@@ -1382,7 +1382,7 @@ static void test_SuspendFlag(void)
ok
(
CreateProcessA
(
NULL
,
buffer
,
NULL
,
NULL
,
FALSE
,
CREATE_SUSPENDED
,
NULL
,
NULL
,
&
startup
,
&
info
),
"CreateProcess
\n
"
);
ok
(
GetExitCodeThread
(
info
.
hThread
,
&
exit_status
)
&&
exit_status
==
STILL_ACTIVE
,
"thread still running
\n
"
);
Sleep
(
8
000
);
Sleep
(
1
000
);
ok
(
GetExitCodeThread
(
info
.
hThread
,
&
exit_status
)
&&
exit_status
==
STILL_ACTIVE
,
"thread still running
\n
"
);
ok
(
ResumeThread
(
info
.
hThread
)
==
1
,
"Resuming thread
\n
"
);
...
...
@@ -1652,6 +1652,9 @@ static void test_Console(void)
ok
(
ReadFile
(
hParentIn
,
buffer
,
sizeof
(
buffer
),
&
w
,
NULL
),
"Reading from child
\n
"
);
ok
(
strcmp
(
buffer
,
msg
)
==
0
,
"Should have received '%s'
\n
"
,
msg
);
/* the child may also send the final "n tests executed" string, so read it to avoid a deadlock */
ReadFile
(
hParentIn
,
buffer
,
sizeof
(
buffer
),
&
w
,
NULL
);
/* wait for child to terminate */
ok
(
WaitForSingleObject
(
info
.
hProcess
,
30000
)
==
WAIT_OBJECT_0
,
"Child process termination
\n
"
);
/* child process has changed result file, so let profile functions know about it */
...
...
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