From 0aa5b28a504c6f1f17b387d8147715d1496fff62 Mon Sep 17 00:00:00 2001 From: Joe Simmons-Talbott Date: Fri, 21 Apr 2023 09:24:25 -0400 Subject: wcsmbs: Add wcsdup() tests. (BZ #30266) Enable wide character testcases for wcsdup(). Reviewed-by: Adhemerval Zanella --- wcsmbs/Makefile | 1 + wcsmbs/test-wcsdup.c | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 wcsmbs/test-wcsdup.c (limited to 'wcsmbs') diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile index 4aa43252d7..0dc264e971 100644 --- a/wcsmbs/Makefile +++ b/wcsmbs/Makefile @@ -127,6 +127,7 @@ tests := \ test-wcsncat \ test-wcsncmp \ test-wcsncpy \ + test-wcsdup \ test-wcsnlen \ test-wcspbrk \ test-wcsrchr \ diff --git a/wcsmbs/test-wcsdup.c b/wcsmbs/test-wcsdup.c new file mode 100644 index 0000000000..e39e063d0b --- /dev/null +++ b/wcsmbs/test-wcsdup.c @@ -0,0 +1,2 @@ +#define WIDE 1 +#include "../string/test-strdup.c" -- cgit 1.4.1