* gdb.base/completion.exp: Update expected output following

the addition of the "info tasks" command.
This commit is contained in:
Joel Brobecker 2008-10-22 19:46:13 +00:00
parent 0ef643c89c
commit 28148e3d4d
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2008-10-22 Joel Brobecker <brobecker@adacore.com>
* gdb.base/completion.exp: Update expected output following
the addition of the "info tasks" command.
2008-10-22 Tom Tromey <tromey@redhat.com>
* gdb.base/exprs.exp (test_expr): Add test for string

View File

@ -223,7 +223,7 @@ gdb_expect {
-re "^info t foo\\\x07$"\
{ send_gdb "\n"
gdb_expect {
-re "Ambiguous info command \"t foo\": target, terminal, threads, tp, tracepoints, types\\..*$gdb_prompt $"\
-re "Ambiguous info command \"t foo\": target, tasks, terminal, threads, tp, tracepoints, types\\..*$gdb_prompt $"\
{ pass "complete 'info t foo'"}
-re ".*$gdb_prompt $" { fail "complete 'info t foo'"}
timeout {fail "(timeout) complete 'info t foo'"}
@ -239,7 +239,7 @@ gdb_expect {
-re "^info t\\\x07$"\
{ send_gdb "\n"
gdb_expect {
-re "Ambiguous info command \"t\": target, terminal, threads, tp, tracepoints, types\\..
-re "Ambiguous info command \"t\": target, tasks, terminal, threads, tp, tracepoints, types\\..
*$gdb_prompt $"\
{ pass "complete 'info t'"}
-re ".*$gdb_prompt $" { fail "complete 'info t'"}
@ -257,7 +257,7 @@ gdb_expect {
-re "^info t \\\x07$"\
{ send_gdb "\n"
gdb_expect {
-re "Ambiguous info command \"t \": target, terminal, threads, tp, tracepoints, types\\..
-re "Ambiguous info command \"t \": target, tasks, terminal, threads, tp, tracepoints, types\\..
*$gdb_prompt $"\
{ pass "complete 'info t '"}
-re ".*$gdb_prompt $" { fail "complete 'info t '"}