diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-06-25 13:52:20 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-06-25 13:52:20 +0000 |
commit | e19f872c5bec6fbb9476abdc4ea5cee44da598e2 (patch) | |
tree | b1028c4fa958c57ca0fb428c3c483330de8bd00a /gdb/testsuite/gdb.base/attach.exp | |
parent | c05cbf1a71b8e39f4063d40478ab436344dc6d95 (diff) | |
download | gdb-e19f872c5bec6fbb9476abdc4ea5cee44da598e2.zip gdb-e19f872c5bec6fbb9476abdc4ea5cee44da598e2.tar.gz gdb-e19f872c5bec6fbb9476abdc4ea5cee44da598e2.tar.bz2 |
* gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
attach process.
Diffstat (limited to 'gdb/testsuite/gdb.base/attach.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/attach.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index ea11087..67d40ee 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 {} { |