summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-prompt.exp
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-02-10 08:05:15 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-02-10 08:05:15 +0000
commita321661a7fe636a2ec963d21ce7f7581557c68b2 (patch)
tree0cbebf2aeef850e846a1012cfff6eb926f51c716 /gdb/testsuite/gdb.python/py-prompt.exp
parent7bf52ea2ca60774385b8d2678729abb52572b594 (diff)
downloadbinutils-gdb-a321661a7fe636a2ec963d21ce7f7581557c68b2.tar.gz
gdb/testsuite/
* gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-prompt.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-prompt.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-prompt.exp b/gdb/testsuite/gdb.python/py-prompt.exp
index 262f3885e19..a2660633133 100644
--- a/gdb/testsuite/gdb.python/py-prompt.exp
+++ b/gdb/testsuite/gdb.python/py-prompt.exp
@@ -125,4 +125,5 @@ gdb_test "python print (\"'\" + str(p\[0\]) + \"'\")" "'$gdb_prompt_fail '" \
gdb_exit
set GDBFLAGS $saved_gdbflags
+exec kill -9 ${testpid}
return 0