From: Ulrich Drepper Date: Wed, 6 Oct 2010 17:48:51 +0000 (-0400) Subject: Add test case for strstr problem. X-Git-Tag: glibc-2.12.2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0ed7b647474cdd16efe8cbbc9eb9ccf8a7b3c8;p=thirdparty%2Fglibc.git Add test case for strstr problem. (cherry picked from commit 67a67b950be9741a4cf1ff3e75572204b06bec2e) --- diff --git a/ChangeLog b/ChangeLog index 4391990cfa9..b3da5ad440b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-10-06 Ulrich Drepper + + * string/bug-strstr1.c: New file. + * string/Makefile: Add rules to build and run bug-strstr1. + 2010-10-05 Eric Blake [BZ #12092] diff --git a/string/Makefile b/string/Makefile index db9b5081d5d..4ade15007e7 100644 --- a/string/Makefile +++ b/string/Makefile @@ -54,7 +54,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 @@ -73,6 +74,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