]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: skip another GDB "no such process" case
authorMichael Pratt <mpratt@google.com>
Mon, 5 Jun 2023 17:57:37 +0000 (13:57 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 5 Jun 2023 19:03:34 +0000 (19:03 +0000)
Fixes #58698.
For #50838.

Change-Id: I043c59a57707e64d444cd687f9745bf5313fb7cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/500959
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/runtime-gdb_test.go

index 19069f4462b0a9197cd5f25abe65a3f11cee6f73..8c759bf406637095d841eb0c9fbda6bfebe40318 100644 (file)
@@ -474,7 +474,9 @@ func TestGdbBacktrace(t *testing.T) {
                case bytes.Contains(got, []byte("internal-error: wait returned unexpected status 0x0")):
                        // GDB bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28551
                        testenv.SkipFlaky(t, 43068)
-               case bytes.Contains(got, []byte("Couldn't get registers: No such process.")), bytes.Contains(got, []byte("Unable to fetch general registers.: No such process.")):
+               case bytes.Contains(got, []byte("Couldn't get registers: No such process.")),
+                       bytes.Contains(got, []byte("Unable to fetch general registers.: No such process.")),
+                       bytes.Contains(got, []byte("reading register pc (#64): No such process.")):
                        // GDB bug: https://sourceware.org/bugzilla/show_bug.cgi?id=9086
                        testenv.SkipFlaky(t, 50838)
                case bytes.Contains(got, []byte("waiting for new child: No child processes.")):