From 450e36f8ddf974e503731288c8d8bb8c62e67e47 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 17 Jul 2020 16:33:45 +0200 Subject: Fixing ft_strtol overflow --- test/src/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/src/main.c') diff --git a/test/src/main.c b/test/src/main.c index e962577..9636cf7 100644 --- a/test/src/main.c +++ b/test/src/main.c @@ -1,5 +1,7 @@ #include "libft_test.h" +int helper_segfault_pid = -1; + static void run_all_test(void) { // ctype @@ -34,6 +36,7 @@ static void run_all_test(void) RUN_TEST_GROUP(ft_strsjoinf); RUN_TEST_GROUP(ft_strsub); RUN_TEST_GROUP(ft_strsubf); + RUN_TEST_GROUP(ft_strtol); // ht RUN_TEST_GROUP(ft_htentry_new); -- cgit