From eaaad78db41724e5a18a42becb238bfc4e683998 Mon Sep 17 00:00:00 2001 From: Joe Simmons-Talbott Date: Fri, 21 Apr 2023 09:24:23 -0400 Subject: 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 --- string/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'string/Makefile') 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 \ -- cgit v1.2.3