From e19f872c5bec6fbb9476abdc4ea5cee44da598e2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 25 Jun 2004 13:52:20 +0000 Subject: [PATCH] * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second attach process. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/attach.exp | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 23e4ff1e05..88c91301c0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-06-25 Corinna Vinschen + + * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second + attach process. + 2004-06-23 Michael Chastain * gdb.cp/pr-1553.exp: Remove. diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index ea11087f8a..67d40ee39a 100644 --- a/gdb/testsuite/gdb.base/attach.exp +++ b/gdb/testsuite/gdb.base/attach.exp @@ -1,4 +1,4 @@ -# Copyright 1997, 1999, 2002 Free Software Foundation, Inc. +# Copyright 1997, 1999, 2002, 2004 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -355,6 +355,9 @@ proc do_attach_tests {} { -re "$gdb_prompt $" {fail "after attach3, exit"} timeout {fail "(timeout) after attach3, exit"} } + + # Another "don't leave a process around" + remote_exec build "kill -9 ${testpid}" } proc do_call_attach_tests {} { -- 2.34.1