Skip to content
Commit 0c48aa05 authored by Joe Simmons-Talbott's avatar Joe Simmons-Talbott Committed by Adhemerval Zanella
Browse files

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: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent eaaad78d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment