diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-03-01 19:46:28 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-03-01 19:46:28 -0500 |
commit | 1ee4fe83d74978f44eb61b23dda9c258f4af82b1 (patch) | |
tree | 358c7a26e017457c44804fa10d0c7e82042cb569 /signal.c | |
parent | df9ef3a48883d4a34eeabbfd5af42f289c1353c2 (diff) |
decide not to try autogenerating tests, it is too error prone
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,7 +1,16 @@ #include <signal.h> #include "test.h" -#include "signal.d" +static sig_atomic_t sig_atomic; + +static int signals[] = { + SIGABRT, + SIGFPE, + SIGILL, + SIGINT, + SIGSEGV, + SIGTERM, +}; void test_signal_h(void) { |