From 7e38f1ae98de90942742e2093906172733415cc7 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Fri, 19 Aug 2022 16:22:47 +0400 Subject: test --- source/test/programs/signals.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source/test/programs') diff --git a/source/test/programs/signals.c b/source/test/programs/signals.c index add9e3d..c362021 100644 --- a/source/test/programs/signals.c +++ b/source/test/programs/signals.c @@ -3,11 +3,15 @@ #include TEST("abort") { - //abort(); +#if !defined(_WIN32) || defined(__CYGWIN__) + abort(); +#endif } TEST("invalid access") { - //*(volatile int *) NULL = 42; +#if !defined(_WIN32) || defined(__CYGWIN__) + *(volatile int *) NULL = 42; +#endif } int main(int argc, char **argv) { -- cgit v1.2.3