From f7543f0a4f6d5aef635cb6af721b554e6286cf90 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 9 Apr 2013 15:26:44 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET response. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.server/server-kill.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 27deae32364..58d692e0c8f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-04-09 Jan Kratochvil + + * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET + response. + 2013-04-08 Pedro Alves * gdb.mi/mi-break.exp (test_error): Add tests with garbage after diff --git a/gdb/testsuite/gdb.server/server-kill.exp b/gdb/testsuite/gdb.server/server-kill.exp index 1b4815251b3..75c962705e3 100644 --- a/gdb/testsuite/gdb.server/server-kill.exp +++ b/gdb/testsuite/gdb.server/server-kill.exp @@ -42,4 +42,4 @@ remote_exec target "kill -9 $server_pid" # Force GDB to talk with GDBserver, so that we can get the # "connection closed" error. -gdb_test "tstatus" "Remote connection closed" +gdb_test "tstatus" {Remote connection closed|Remote communication error\. Target disconnected\.: Connection reset by peer\.} -- 2.30.2