wine-wine/dlls/kernel32/tests
Francois Gouget ad4516ff51 kernel32/tests: Fix test_Toolhelp()'s nested process lookup.
On Windows, processes are not reassigned to pid 1 when their parent
dies. This means many processes could have the same ppid despite being
started by unrelated processes. It also means test_Toolhelp() cannot
reliably look up the nested process by its ppid.
So look up for the nested process by its pid and only then check its
ppid, executable file, etc.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48664
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit e4c15b5bbd)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2020-05-03 23:19:27 +02:00
..
Makefile.in
actctx.c
atom.c
change.c
codepage.c kernel32/tests: Fix some codepage test failures with Windows 10. 2020-01-05 17:34:22 +01:00
comm.c
console.c kernelbase: Implement SetConsoleScreenBufferInfoEx(). 2020-05-03 22:57:20 +02:00
debugger.c kernel32/tests: Skip instruction pointer check of the last exception in exception race tests. 2020-01-14 19:05:06 +01:00
directory.c
drive.c
dummy.c
dummy.spec
environ.c
fiber.c
file.c kernelbase: Implement ReOpenFile(). 2020-05-02 14:19:52 +02:00
format_msg.c
generated.c
heap.c
loader.c
locale.c kernel32/tests: Remove some workarounds for old Windows versions. 2020-01-06 19:28:45 +01:00
mailslot.c
module.c
path.c kernel32/tests: Remove GetLongPathName() workarounds. 2020-01-07 22:26:08 +01:00
pipe.c
power.c
process.c kernel32/tests: Fix test_Toolhelp()'s nested process lookup. 2020-05-03 23:19:27 +02:00
profile.c kernel32/tests: Get rid of no longer needed win9x checks. 2020-01-02 17:40:39 +01:00
resource.c
resource.rc
sync.c
thread.c
time.c
timer.c
toolhelp.c
version.c
virtual.c kernel32: Catch stack overflow faults in IsBad*Ptr() functions. 2020-01-13 19:41:02 +01:00
volume.c