diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go index 6e00489b49..3782a92729 100644 --- a/src/runtime/crash_test.go +++ b/src/runtime/crash_test.go @@ -77,6 +77,8 @@ func runBuiltTestProg(t *testing.T, exe, name string, env ...string) string { if err != nil { if _, ok := err.(*exec.ExitError); ok { t.Logf("%v: %v", cmd, err) + } else if errors.Is(err, exec.ErrWaitDelay) { + t.Fatalf("%v: %v", cmd, err) } else { t.Fatalf("%v failed to start: %v", cmd, err) }