aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-04-09 15:26:44 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-04-09 15:26:44 +0000
commitf7543f0a4f6d5aef635cb6af721b554e6286cf90 (patch)
tree76cfe57185bf227cd7098944aa0f9dfe4a87eeaf
parent79bb5c2356e7651d0aad0a0c3818f1727bc3cb74 (diff)
downloadgdb-f7543f0a4f6d5aef635cb6af721b554e6286cf90.zip
gdb-f7543f0a4f6d5aef635cb6af721b554e6286cf90.tar.gz
gdb-f7543f0a4f6d5aef635cb6af721b554e6286cf90.tar.bz2
gdb/testsuite/
* gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET response.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.server/server-kill.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 27deae3..58d692e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
+ response.
+
2013-04-08 Pedro Alves <palves@redhat.com>
* 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 1b48152..75c9627 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\.}