public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] wcsmbs: Add wcsdup() tests. (BZ #30266)
@ 2023-04-21 17:02 Adhemerval Zanella
0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2023-04-21 17:02 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0aa5b28a504c6f1f17b387d8147715d1496fff62
commit 0aa5b28a504c6f1f17b387d8147715d1496fff62
Author: Joe Simmons-Talbott <josimmon@redhat.com>
Date: Fri Apr 21 09:24:25 2023 -0400
wcsmbs: Add wcsdup() tests. (BZ #30266)
Enable wide character testcases for wcsdup().
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diff:
---
wcsmbs/Makefile | 1 +
wcsmbs/test-wcsdup.c | 2 ++
2 files changed, 3 insertions(+)
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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-21 17:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-21 17:02 [glibc] wcsmbs: Add wcsdup() tests. (BZ #30266) Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).