diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-10-19 22:04:19 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-10-19 22:10:16 -0700 |
commit | 69f07e5fd1a68cc2d2363394fdab3882b83082b2 (patch) | |
tree | 91df535409e7db31748deb668da0535f843e6fae /string/test-strcpy.c | |
parent | de54b33a3df1de0a2fd0197bec9ab9397298d39a (diff) | |
download | glibc-69f07e5fd1a68cc2d2363394fdab3882b83082b2.zip glibc-69f07e5fd1a68cc2d2363394fdab3882b83082b2.tar.gz glibc-69f07e5fd1a68cc2d2363394fdab3882b83082b2.tar.bz2 |
Add string IFUNC tests
Diffstat (limited to 'string/test-strcpy.c')
-rw-r--r-- | string/test-strcpy.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/string/test-strcpy.c b/string/test-strcpy.c index 3a0b118..de57c68 100644 --- a/string/test-strcpy.c +++ b/string/test-strcpy.c @@ -1,5 +1,5 @@ /* Test and measure strcpy functions. - Copyright (C) 1999, 2002, 2003, 2005, 2011, 2012 Free Software Foundation, Inc. + Copyright (C) 1999-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Jakub Jelinek <jakub@redhat.com>, 1999. Added wcscpy support by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>, 2011 @@ -42,6 +42,11 @@ #ifndef STRCPY_RESULT # define STRCPY_RESULT(dst, len) dst # define TEST_MAIN +# ifndef WIDE +# define TEST_NAME "strcpy" +# else +# define TEST_NAME "wcscpy" +# endif # include "test-string.h" # ifndef WIDE # define SIMPLE_STRCPY simple_strcpy |