about summary refs log tree commit diff
path: root/debug/tst-longjmp_chk3.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-12-21 15:59:15 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-12-29 10:57:03 -0300
commit9556acd249687ac562deb6309503165d66eb06fa (patch)
tree683dede674dfe0b266a7fe143bbe733773856302 /debug/tst-longjmp_chk3.c
parentfce5528fcb58aa3f44bdc6cbecdd5f6b75145b0c (diff)
downloadglibc-9556acd249687ac562deb6309503165d66eb06fa.tar.gz
glibc-9556acd249687ac562deb6309503165d66eb06fa.tar.xz
glibc-9556acd249687ac562deb6309503165d66eb06fa.zip
debug: Adapt fortify tests to libsupport
Checked on aarch64, armhf, x86_64, and i686.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'debug/tst-longjmp_chk3.c')
-rw-r--r--debug/tst-longjmp_chk3.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/debug/tst-longjmp_chk3.c b/debug/tst-longjmp_chk3.c
index f1e576ad5b..3050806c44 100644
--- a/debug/tst-longjmp_chk3.c
+++ b/debug/tst-longjmp_chk3.c
@@ -20,10 +20,6 @@
 #include <signal.h>
 #include <string.h>
 
-static int do_test (void);
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
-
 static char buf[SIGSTKSZ * 4];
 static jmp_buf jb;
 
@@ -83,3 +79,5 @@ do_test (void)
   puts ("longjmp returned and shouldn't");
   return 1;
 }
+
+#include <support/test-driver.c>