summaryrefslogtreecommitdiff
path: root/source/kit_test/test.c
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-21 11:37:53 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-21 11:37:53 +0400
commitbe66e8b9525bc37bc913d2abf0e8a1f3fdedf645 (patch)
tree3418f502fe8e2def9992add120b28f03e0d464d8 /source/kit_test/test.c
parentc870f5ab6271d2d1a52d170f740d96b259d1cb9a (diff)
downloadkit-be66e8b9525bc37bc913d2abf0e8a1f3fdedf645.zip
Add SIGINT
Diffstat (limited to 'source/kit_test/test.c')
-rw-r--r--source/kit_test/test.c5
1 files changed, 3 insertions, 2 deletions
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",