]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: fix TestAbort on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Sat, 7 Jul 2018 23:05:18 +0000 (01:05 +0200)
committerAustin Clements <austin@google.com>
Sun, 8 Jul 2018 04:14:45 +0000 (04:14 +0000)
commitb001ffb864ce5486c6edbe98202d3e0687313ce2
tree073a8df35df2b10112d3833976aeefb8cb07bdcd
parent78561c4ae9b18e111ef0e25478f24e5e21dcff69
runtime: fix TestAbort on Plan 9

Since CL 122515, TestAbort is failing on Plan 9
because there is no SIGTRAP signal on Plan 9,
but a note containing the "sys: breakpoint" string.

This change fixes the TestAbort test by handling
the Plan 9 case.

Fixes #26265.

Change-Id: I2fae00130bcee1cf946d8cc9d147a77f951be390
Reviewed-on: https://go-review.googlesource.com/122464
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/crash_test.go