diff options
author | Joe Simmons-Talbott <josimmon@redhat.com> | 2023-04-21 09:24:25 -0400 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-04-21 10:50:52 -0300 |
commit | 0aa5b28a504c6f1f17b387d8147715d1496fff62 (patch) | |
tree | 7fa7b04527a542bee135d2c16ad44c113ed06291 /wcsmbs | |
parent | 0c48aa0551151ea201f7f528492e89a0b08a6890 (diff) | |
download | glibc-0aa5b28a504c6f1f17b387d8147715d1496fff62.tar.gz glibc-0aa5b28a504c6f1f17b387d8147715d1496fff62.tar.xz glibc-0aa5b28a504c6f1f17b387d8147715d1496fff62.zip |
wcsmbs: Add wcsdup() tests. (BZ #30266) azanella/bz30266
Enable wide character testcases for wcsdup(). Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/Makefile | 1 | ||||
-rw-r--r-- | wcsmbs/test-wcsdup.c | 2 |
2 files changed, 3 insertions, 0 deletions
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" |