aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/readline.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-07-27 15:15:02 +0000
committerDaniel Jacobowitz <drow@false.org>2007-07-27 15:15:02 +0000
commitd4e0720445d4974a9b539df523c3c57ea393a059 (patch)
treedd472d8b7967efdd1b8266e598c472294e620229 /gdb/testsuite/gdb.base/readline.exp
parent33e8d5ac613dc8fbde6806bb3142335038eb2f22 (diff)
downloadgdb-d4e0720445d4974a9b539df523c3c57ea393a059.zip
gdb-d4e0720445d4974a9b539df523c3c57ea393a059.tar.gz
gdb-d4e0720445d4974a9b539df523c3c57ea393a059.tar.bz2
* gdb.base/readline.exp (operate_and_get_next): Match the final
prompt.
Diffstat (limited to 'gdb/testsuite/gdb.base/readline.exp')
-rw-r--r--gdb/testsuite/gdb.base/readline.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/readline.exp b/gdb/testsuite/gdb.base/readline.exp
index 2ad8580..99c68bf 100644
--- a/gdb/testsuite/gdb.base/readline.exp
+++ b/gdb/testsuite/gdb.base/readline.exp
@@ -139,6 +139,9 @@ proc operate_and_get_next {name args} {
set count [expr {$count + 2}]
}
+ # Match the prompt so the next test starts at the right place.
+ gdb_test "" "" "$name - final prompt"
+
return 1
}