mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Add test case for strstr problem.
This commit is contained in:
@ -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>
|
2010-10-05 Eric Blake <eblake@redhat.com>
|
||||||
|
|
||||||
[BZ #12092]
|
[BZ #12092]
|
||||||
|
@ -55,7 +55,8 @@ tests := tester inl-tester noinl-tester testcopy test-ffs \
|
|||||||
bug-strncat1 bug-strspn1 bug-strpbrk1 tst-bswap \
|
bug-strncat1 bug-strspn1 bug-strpbrk1 tst-bswap \
|
||||||
tst-strtok tst-strxfrm bug-strcoll1 tst-strfry \
|
tst-strtok tst-strxfrm bug-strcoll1 tst-strfry \
|
||||||
bug-strtok1 $(addprefix test-,$(strop-tests)) \
|
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 \
|
distribute := memcopy.h pagecopy.h tst-svc.expect test-string.h \
|
||||||
str-two-way.h
|
str-two-way.h
|
||||||
|
|
||||||
@ -74,6 +75,7 @@ CFLAGS-tst-strlen.c = -fno-builtin
|
|||||||
CFLAGS-stratcliff.c = -fno-builtin
|
CFLAGS-stratcliff.c = -fno-builtin
|
||||||
CFLAGS-test-ffs.c = -fno-builtin
|
CFLAGS-test-ffs.c = -fno-builtin
|
||||||
CFLAGS-tst-inlcall.c = -fno-builtin
|
CFLAGS-tst-inlcall.c = -fno-builtin
|
||||||
|
CFLAGS-bug-strstr1.c = -fno-builtin
|
||||||
|
|
||||||
ifeq ($(cross-compiling),no)
|
ifeq ($(cross-compiling),no)
|
||||||
tests: $(objpfx)tst-svc.out
|
tests: $(objpfx)tst-svc.out
|
||||||
|
Reference in New Issue
Block a user