From: Debian Julia Team Date: Tue, 22 Jan 2019 20:19:55 +0000 (+0000) Subject: test-skip-sigint X-Git-Tag: archive/raspbian/1.0.4+dfsg-1+rpi1~1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=22f854409087ced5f606bdd591739d4b61f6c429;p=julia.git test-skip-sigint Gbp-Pq: Name test-skip-sigint.patch --- 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