aboutsummaryrefslogtreecommitdiff
path: root/debug/tst-longjmp_chk2.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_chk2.c
parentfce5528fcb58aa3f44bdc6cbecdd5f6b75145b0c (diff)
downloadglibc-9556acd249687ac562deb6309503165d66eb06fa.zip
glibc-9556acd249687ac562deb6309503165d66eb06fa.tar.gz
glibc-9556acd249687ac562deb6309503165d66eb06fa.tar.bz2
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_chk2.c')
-rw-r--r--debug/tst-longjmp_chk2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug/tst-longjmp_chk2.c b/debug/tst-longjmp_chk2.c
index 1810ab4..7e1ee3e 100644
--- a/debug/tst-longjmp_chk2.c
+++ b/debug/tst-longjmp_chk2.c
@@ -10,9 +10,7 @@
#include <sys/resource.h>
#include <unistd.h>
-static int do_test (void);
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/support.h>
static jmp_buf mainloop;
static sigset_t mainsigset;
@@ -126,3 +124,5 @@ do_test (void)
return 0;
}
+
+#include <support/test-driver.c>