aboutsummaryrefslogtreecommitdiff
path: root/debug/tst-longjmp_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/tst-longjmp_chk.c')
-rw-r--r--debug/tst-longjmp_chk.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/debug/tst-longjmp_chk.c b/debug/tst-longjmp_chk.c
index e4e93d2..37f8586 100644
--- a/debug/tst-longjmp_chk.c
+++ b/debug/tst-longjmp_chk.c
@@ -10,11 +10,7 @@
#include <stdlib.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 b;
@@ -76,3 +72,5 @@ do_test (void)
puts ("second longjmp returned");
return 1;
}
+
+#include <support/test-driver.c>