]> Cypherpunks repositories - gostls13.git/commit
runtime: unblock SIGUSR1 for TestPreemptM
authorAustin Clements <austin@google.com>
Tue, 29 Oct 2019 02:14:04 +0000 (22:14 -0400)
committerAustin Clements <austin@google.com>
Tue, 29 Oct 2019 13:46:21 +0000 (13:46 +0000)
commitb6bdf4587f7b58b78982553b7d10b73d0a381152
tree7e5898f3dcdb0ef7bee579ec17227d75dda7c1ae
parentac346a5fd99711e94996cae030cad1064da1daf2
runtime: unblock SIGUSR1 for TestPreemptM

TestPreemptM tests signal delivery using SIGUSR1, but (for unknown
reasons) SIGUSR1 is blocked by default on android/arm and
android/arm64, causing the test to fail.

This fixes the test by ensuring that SIGUSR1 is unblocked for this
test.

Updates #10958, #24543.

Change-Id: I9f81fbab53f96c74622aabcb6f5276f79e2b6d33
Reviewed-on: https://go-review.googlesource.com/c/go/+/203957
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/export_unix_test.go