summaryrefslogtreecommitdiff
path: root/source/test
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-19 16:34:05 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-19 16:34:05 +0400
commit1101403cbbf083c703ff29b6951ca93a6a425adc (patch)
tree54588d2eac68b10e9aa826ce7cb7164586a45cce /source/test
parent7e38f1ae98de90942742e2093906172733415cc7 (diff)
downloadkit-1101403cbbf083c703ff29b6951ca93a6a425adc.zip
test
Diffstat (limited to 'source/test')
-rw-r--r--source/test/programs/signals.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/test/programs/signals.c b/source/test/programs/signals.c
index c362021..c68d5e3 100644
--- a/source/test/programs/signals.c
+++ b/source/test/programs/signals.c
@@ -1,17 +1,16 @@
#include "../../kit_test/test.h"
#include <stdlib.h>
+#include <stdio.h>
TEST("abort") {
-#if !defined(_WIN32) || defined(__CYGWIN__)
+ printf("** ABORT\n\n");
abort();
-#endif
}
TEST("invalid access") {
-#if !defined(_WIN32) || defined(__CYGWIN__)
+ printf("** INVALID ACCESS\n\n");
*(volatile int *) NULL = 42;
-#endif
}
int main(int argc, char **argv) {