about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2010-10-06 13:48:51 -0400
committerUlrich Drepper <drepper@gmail.com>2010-10-06 13:48:51 -0400
commit67a67b950be9741a4cf1ff3e75572204b06bec2e (patch)
tree9f24548e525c47f3715e4fac61375f8b8cbcbb0c
parent5fb308bca2f333dcc835945be85e165cd7843d5b (diff)
downloadglibc-67a67b950be9741a4cf1ff3e75572204b06bec2e.tar.gz
glibc-67a67b950be9741a4cf1ff3e75572204b06bec2e.tar.xz
glibc-67a67b950be9741a4cf1ff3e75572204b06bec2e.zip
Add test case for strstr problem.
-rw-r--r--ChangeLog5
-rw-r--r--string/Makefile4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dacd023b73..55ca6b4db6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-06  Ulrich Drepper  <drepper@gmail.com>
+
+	* string/bug-strstr1.c: New file.
+	* string/Makefile: Add rules to build and run bug-strstr1.
+
 2010-10-05  Eric Blake  <eblake@redhat.com>
 
 	[BZ #12092]
diff --git a/string/Makefile b/string/Makefile
index cc2da10a4e..19130dd63a 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -55,7 +55,8 @@ tests		:= tester inl-tester noinl-tester testcopy test-ffs	\
 		   bug-strncat1 bug-strspn1 bug-strpbrk1 tst-bswap	\
 		   tst-strtok tst-strxfrm bug-strcoll1 tst-strfry	\
 		   bug-strtok1 $(addprefix test-,$(strop-tests))	\
-		   bug-envz1 tst-strxfrm2 tst-endian tst-svc2
+		   bug-envz1 tst-strxfrm2 tst-endian tst-svc2		\
+		   bug-strstr1
 distribute	:= memcopy.h pagecopy.h tst-svc.expect test-string.h	\
 		   str-two-way.h
 
@@ -74,6 +75,7 @@ CFLAGS-tst-strlen.c = -fno-builtin
 CFLAGS-stratcliff.c = -fno-builtin
 CFLAGS-test-ffs.c = -fno-builtin
 CFLAGS-tst-inlcall.c = -fno-builtin
+CFLAGS-bug-strstr1.c = -fno-builtin
 
 ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-svc.out