summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/c_runtime/strncpy/test1/testinfo.dat
blob: c402adb1c17c2ceef6e76fe70f6880d63e429a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 = C Runtime
Function = strncpy
Name = Test #1 for strncpy
TYPE = DEFAULT
EXE1 = test1
Description
= Test to see that you can copy a portion of a string into a new buffer.
= Also check that the strncpy function doesn't overflow when it is used.
= Finally check that if the number of characters given is greater than the 
= amount to copy, that the destination buffer is padded with NULLs.