wcsmbs: Add wcsdup() tests. (BZ #30266)

Enable wide character testcases for wcsdup().

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Joe Simmons-Talbott 2023-04-21 09:24:25 -04:00 committed by Adhemerval Zanella
parent 0c48aa0551
commit 0aa5b28a50
2 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,7 @@ tests := \
test-wcsncat \ test-wcsncat \
test-wcsncmp \ test-wcsncmp \
test-wcsncpy \ test-wcsncpy \
test-wcsdup \
test-wcsnlen \ test-wcsnlen \
test-wcspbrk \ test-wcspbrk \
test-wcsrchr \ test-wcsrchr \

2
wcsmbs/test-wcsdup.c Normal file
View File

@ -0,0 +1,2 @@
#define WIDE 1
#include "../string/test-strdup.c"