summaryrefslogtreecommitdiff
path: root/debug/test-strcpy_chk.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:06:20 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:06:58 +0000
commit3fcbb67b7949a8b362de5558bf1c6dd7ec5d21cf (patch)
treeb867f9a6d3426f212b2f073bef8067a830f13022 /debug/test-strcpy_chk.c
parentb6df7ac2cbe11e6a72f2ab7bd35c6130b72d21d9 (diff)
parentcab56836b146bc129f1ad43f0393d95a9deca63a (diff)
Merge commit 'refs/top-bases/t/tls-threadvar' into t/tls-threadvar
Diffstat (limited to 'debug/test-strcpy_chk.c')
-rw-r--r--debug/test-strcpy_chk.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/debug/test-strcpy_chk.c b/debug/test-strcpy_chk.c
index 4aab09aeb2..da3d903488 100644
--- a/debug/test-strcpy_chk.c
+++ b/debug/test-strcpy_chk.c
@@ -1,5 +1,5 @@
/* Test and measure __strcpy_chk functions.
- Copyright (C) 1999-2016 Free Software Foundation, Inc.
+ Copyright (C) 1999-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Jakub Jelinek <jakub@redhat.com>, 1999.
@@ -55,8 +55,9 @@ simple_strcpy_chk (char *dst, const char *src, size_t len)
#include <signal.h>
static int test_main (void);
-#define TEST_FUNCTION test_main ()
-#include "../test-skeleton.c"
+#define TEST_FUNCTION test_main
+#include <support/test-driver.c>
+#include <support/support.h>
volatile int chk_fail_ok;
jmp_buf chk_fail_buf;