summary refs log tree commit diff
path: root/wcsmbs
diff options
context:
space:
mode:
authorLiubov Dmitrieva <liubov.dmitrieva@gmail.com>2011-10-23 14:14:26 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-23 14:14:26 -0400
commit2d09f82f8aafa9dde2dcbfcce5f44fa7bda63388 (patch)
tree8023deaa58e83c4dc084374b1d2c9f40ba83016b /wcsmbs
parent619fcccaa3ef079cafcaddd725eba309c89bef8f (diff)
downloadglibc-2d09f82f8aafa9dde2dcbfcce5f44fa7bda63388.tar.gz
glibc-2d09f82f8aafa9dde2dcbfcce5f44fa7bda63388.tar.xz
glibc-2d09f82f8aafa9dde2dcbfcce5f44fa7bda63388.zip
Add wcschr test cases
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/Makefile2
-rw-r--r--wcsmbs/test-wcschr.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile
index d48caf6578..64d4b22df4 100644
--- a/wcsmbs/Makefile
+++ b/wcsmbs/Makefile
@@ -42,7 +42,7 @@ routines := wcscat wcschr wcscmp wcscpy wcscspn wcsdup wcslen wcsncat \
 	    isoc99_wscanf isoc99_vwscanf isoc99_fwscanf isoc99_vfwscanf \
 	    isoc99_swscanf isoc99_vswscanf
 
-strop-tests :=  wcscmp wmemcmp wcslen
+strop-tests :=  wcscmp wmemcmp wcslen wcschr
 tests := tst-wcstof wcsmbs-tst1 tst-wcsnlen tst-btowc tst-mbrtowc \
 	 tst-wcrtomb tst-wcpncpy tst-mbsrtowcs tst-wchar-h tst-mbrtowc2 \
 	 wcsatcliff $(addprefix test-,$(strop-tests))
diff --git a/wcsmbs/test-wcschr.c b/wcsmbs/test-wcschr.c
new file mode 100644
index 0000000000..be0abf7aed
--- /dev/null
+++ b/wcsmbs/test-wcschr.c
@@ -0,0 +1,2 @@
+#define WIDE 1
+#include "../string/test-strchr.c"