Sweden-Number/dlls/kernel32/tests
Francois Gouget dd4fad93e4 kernel32/test: Fix the semaphore handling in test_WaitForJobObject().
Don't include 'sync ' in the semaphore name because it will end up as
a separate argument in the child process, causing it to not find the
semaphore.  Switch the child to OpenSemaphoreA() to reduce the risk of
accidentally create a new semaphore instead of opening the parent's
one.  Use wait_child_process() instead of a raw
WaitForSingleObject(). The timeout is longer but the process is
expected to exit immediately anyway and this allows proper handling of
child failures (such as if there is a bug with the semaphore
handling).

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 19:33:11 +01:00
..
Makefile.in
actctx.c include/winnt: Add more ACTCTX_COMPATIBILITY_ELEMENT_TYPE definitions and fix typo. 2020-03-19 13:18:02 +01:00
atom.c
change.c
codepage.c
comm.c
console.c tests: Report all errors when failing to wait for a child process. 2020-03-17 10:51:44 +01:00
debugger.c
directory.c
drive.c
dummy.c
dummy.spec
environ.c
fiber.c
file.c
format_msg.c
generated.c
heap.c tests: Report all errors when failing to wait for a child process. 2020-03-17 10:51:44 +01:00
loader.c
locale.c kernelbase: Implement IsValidNLSVersion(). 2020-03-20 14:49:36 +01:00
mailslot.c
module.c
path.c
pipe.c tests: Report all errors when failing to wait for a child process. 2020-03-17 10:51:44 +01:00
power.c
process.c kernel32/test: Fix the semaphore handling in test_WaitForJobObject(). 2020-03-20 19:33:11 +01:00
profile.c
resource.c
resource.rc
sync.c
thread.c
time.c
timer.c
toolhelp.c tests: Report all errors when failing to wait for a child process. 2020-03-17 10:51:44 +01:00
version.c kernel32: Implement compatibility mode for VerifyVersionInfo. 2020-03-19 13:31:56 +01:00
virtual.c tests: Report all errors when failing to wait for a child process. 2020-03-17 10:51:44 +01:00
volume.c kernel32/tests: Remove a test for Unix-style paths. 2020-03-19 20:36:07 +01:00