From be66e8b9525bc37bc913d2abf0e8a1f3fdedf645 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Sun, 21 Aug 2022 11:37:53 +0400 Subject: Add SIGINT --- source/kit_test/test.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/kit_test') diff --git a/source/kit_test/test.c b/source/kit_test/test.c index 5e10021..e5e2862 100644 --- a/source/kit_test/test.c +++ b/source/kit_test/test.c @@ -51,10 +51,11 @@ void kit_test_register(char const *name, char const *file, static jmp_buf kit_test_restore_execution; -static int const signums[] = { SIGILL, SIGABRT, SIGFPE, SIGSEGV, - SIGTERM }; +static int const signums[] = { SIGINT, SIGILL, SIGABRT, + SIGFPE, SIGSEGV, SIGTERM }; static char const *const signames[] = { + [SIGINT] = "Interactive attention signal", [SIGILL] = "Illegal instruction", [SIGABRT] = "Abnormal termination", [SIGFPE] = "Erroneous arithmetic operation", -- cgit v1.2.3