From: Debian Julia Team Date: Sat, 2 Mar 2019 23:41:50 +0000 (+0000) Subject: test-skip-sigint X-Git-Tag: archive/raspbian/1.0.4+dfsg-1+rpi1~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3f0eb782f829114ef3f964e9351f307ce34f804e;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