Skip to content

Commit 1b9c721

Browse files
prattmicgopherbot
authored andcommitted
runtime: skip another GDB "no such process" case
Fixes #58698. For #50838. Change-Id: I043c59a57707e64d444cd687f9745bf5313fb7cc Reviewed-on: https://go-review.googlesource.com/c/go/+/500959 Run-TryBot: Michael Pratt <[email protected]> Auto-Submit: Michael Pratt <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Austin Clements <[email protected]>
1 parent eb413f7 commit 1b9c721

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/runtime/runtime-gdb_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,9 @@ func TestGdbBacktrace(t *testing.T) {
474474
case bytes.Contains(got, []byte("internal-error: wait returned unexpected status 0x0")):
475475
// GDB bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28551
476476
testenv.SkipFlaky(t, 43068)
477-
case bytes.Contains(got, []byte("Couldn't get registers: No such process.")), bytes.Contains(got, []byte("Unable to fetch general registers.: No such process.")):
477+
case bytes.Contains(got, []byte("Couldn't get registers: No such process.")),
478+
bytes.Contains(got, []byte("Unable to fetch general registers.: No such process.")),
479+
bytes.Contains(got, []byte("reading register pc (#64): No such process.")):
478480
// GDB bug: https://sourceware.org/bugzilla/show_bug.cgi?id=9086
479481
testenv.SkipFlaky(t, 50838)
480482
case bytes.Contains(got, []byte("waiting for new child: No child processes.")):

0 commit comments

Comments
 (0)