aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/crash_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go
index 7eb20f24ea..f1229f154b 100644
--- a/src/runtime/crash_test.go
+++ b/src/runtime/crash_test.go
@@ -650,7 +650,10 @@ func TestAbort(t *testing.T) {
}
// Check that it's a breakpoint traceback.
want := "SIGTRAP"
- if runtime.GOOS == "windows" {
+ switch runtime.GOOS {
+ case "plan9":
+ want = "sys: breakpoint"
+ case "windows":
want = "Exception 0x80000003"
}
if !strings.Contains(output, want) {