about summary refs log tree commit diff
path: root/string/test-stpncpy.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-19 22:04:19 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-10-19 22:10:16 -0700
commit69f07e5fd1a68cc2d2363394fdab3882b83082b2 (patch)
tree91df535409e7db31748deb668da0535f843e6fae /string/test-stpncpy.c
parentde54b33a3df1de0a2fd0197bec9ab9397298d39a (diff)
downloadglibc-69f07e5fd1a68cc2d2363394fdab3882b83082b2.tar.gz
glibc-69f07e5fd1a68cc2d2363394fdab3882b83082b2.tar.xz
glibc-69f07e5fd1a68cc2d2363394fdab3882b83082b2.zip
Add string IFUNC tests
Diffstat (limited to 'string/test-stpncpy.c')
-rw-r--r--string/test-stpncpy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/string/test-stpncpy.c b/string/test-stpncpy.c
index 8fb6d799be..8647299f3b 100644
--- a/string/test-stpncpy.c
+++ b/string/test-stpncpy.c
@@ -1,5 +1,5 @@
 /* Test and measure stpncpy functions.
-   Copyright (C) 1999, 2002 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.
 
@@ -19,6 +19,7 @@
 
 #define STRNCPY_RESULT(dst, len, n) ((dst) + ((len) > (n) ? (n) : (len)))
 #define TEST_MAIN
+#define TEST_NAME "stpncpy"
 #include "test-string.h"
 
 char *simple_stpncpy (char *, const char *, size_t);