summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/threading/DuplicateHandle/test11/testinfo.dat
blob: 1937877880eada48ec2ff2b22f0f9eeb3d35a212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the MIT license.
# See the LICENSE file in the project root for more information.

Version = 1.0
Section = threading
Function = DuplicateHandle
Name = Test for DuplicateHandle
TYPE = DEFAULT
EXE1 = test11
EXE2 = childprocess
Description
= Test to ensure proper operation of the DuplicateHandle API.
= The test launches a trivial child process, then opens
= a handle to it using OpenProcess. It then duplicates that
= handle and uses it to wait for the child process to terminate,
= and then checks the exit code of the child process in order to
= verify that it was in fact a handle to the correct= process. The test tries to duplicate the handle again after
= the process has been closed, to verify that failure ensues.