From 22f854409087ced5f606bdd591739d4b61f6c429 Mon Sep 17 00:00:00 2001 From: Debian Julia Team Date: Tue, 22 Jan 2019 20:19:55 +0000 Subject: [PATCH] test-skip-sigint Gbp-Pq: Name test-skip-sigint.patch --- test/stress.jl | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/stress.jl b/test/stress.jl index 6acbd38..e3371ad 100644 --- a/test/stress.jl +++ b/test/stress.jl @@ -91,16 +91,3 @@ if !Sys.iswindows() test_22566() end end # !Sys.iswindows - -# sig 2 is SIGINT per the POSIX.1-1990 standard -if !Sys.iswindows() - ccall(:jl_exit_on_sigint, Cvoid, (Cint,), 0) - @test_throws InterruptException begin - ccall(:kill, Cvoid, (Cint, Cint,), getpid(), 2) - for i in 1:10 - Libc.systemsleep(0.1) - ccall(:jl_gc_safepoint, Cvoid, ()) # wait for SIGINT to arrive - end - end - ccall(:jl_exit_on_sigint, Cvoid, (Cint,), 1) -end -- 2.30.2