aboutsummaryrefslogtreecommitdiff
path: root/string/Makefile
diff options
context:
space:
mode:
authorJoe Simmons-Talbott <josimmon@redhat.com>2023-04-21 09:24:23 -0400
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-04-21 10:28:01 -0300
commiteaaad78db41724e5a18a42becb238bfc4e683998 (patch)
treeff81ef4e3d54766f50331a94b00a54e9b6167e45 /string/Makefile
parent1626d8a521c7c771d4118b1328421fea113cab64 (diff)
downloadglibc-eaaad78db41724e5a18a42becb238bfc4e683998.tar
glibc-eaaad78db41724e5a18a42becb238bfc4e683998.tar.gz
glibc-eaaad78db41724e5a18a42becb238bfc4e683998.tar.bz2
glibc-eaaad78db41724e5a18a42becb238bfc4e683998.zip
string: Add tests for strdup (BZ #30266)
Copy strcpy tests for strdup. Covers some basic testcases with random strings. Add a zero-length string testcase. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'string/Makefile')
-rw-r--r--string/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/string/Makefile b/string/Makefile
index c84b49aaa5..472e318aea 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -157,6 +157,7 @@ tests := \
test-strcmp \
test-strcpy \
test-strcspn \
+ test-strdup \
test-strlen \
test-strncasecmp \
test-strncat \