]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - debug/tst-longjmp_chk3.c
debug: Adapt fortify tests to libsupport
[thirdparty/glibc.git] / debug / tst-longjmp_chk3.c
index f1e576ad5be3533c367b37be1f506f775f04ee2e..3050806c443da1311b20bf92fce9c99aedac5b7f 100644 (file)
 #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>