diff options
author | Joe Simmons-Talbott <josimmon@redhat.com> | 2023-04-21 09:24:24 -0400 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-04-21 10:50:42 -0300 |
commit | 0c48aa0551151ea201f7f528492e89a0b08a6890 (patch) | |
tree | c31ae037cb2d5613832d9b64b826394c6d49f5f4 /string/test-strncat.c | |
parent | eaaad78db41724e5a18a42becb238bfc4e683998 (diff) | |
download | glibc-0c48aa0551151ea201f7f528492e89a0b08a6890.tar.gz glibc-0c48aa0551151ea201f7f528492e89a0b08a6890.tar.xz glibc-0c48aa0551151ea201f7f528492e89a0b08a6890.zip |
string: Add tests for strndup (BZ #30266)
Copy strncpy tests for strndup. Covers some basic testcases with random strings. Remove tests that set the destination's bytes and checked the resulting buffer's bytes. Remove wide character test support since wcsndup() doesn't exist. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'string/test-strncat.c')
0 files changed, 0 insertions, 0 deletions