2003-04-16 Elena Zannoni <ezannoni@redhat.com>

* gdb.base/completion.exp: Make 'info func mark' complete on 'info
        func marke' instead. Update test name.
This commit is contained in:
Elena Zannoni 2003-04-16 20:07:08 +00:00
parent e64a344cc8
commit 3fe60e3c14
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2003-04-16 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Make 'info func mark' complete on 'info
func marke' instead. Update test name.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.

View File

@ -701,10 +701,10 @@ gdb_expect {
timeout { fail "(timeout) complete 'file ./gdb.base/compl'" }
}
send_gdb "info func mark\t"
send_gdb "info func marke\t"
sleep 1
gdb_expect {
-re "^info func mark.*er$"\
-re "^info func marke.*r$"\
{
send_gdb "\t\t"
sleep 3
@ -713,17 +713,17 @@ gdb_expect {
{ send_gdb "\n"
gdb_expect {
-re "All functions matching regular expression \"marker\":.*File.*break.c:\r\nint marker1\\((void|)\\);\r\nint marker2\\(int\\).*marker3\\(char.*char.*\\).*marker4\\(long int\\);.*$gdb_prompt $"\
{ pass "complete 'info func mar'"}
-re ".*$gdb_prompt $" { fail "complete 'info func mar'"}
timeout {fail "(timeout) complete 'info func mar'"}
{ pass "complete 'info func marke'"}
-re ".*$gdb_prompt $" { fail "complete 'info func marke'"}
timeout {fail "(timeout) complete 'info func marke'"}
}
}
-re ".*$gdb_prompt $" { fail "complete 'info func mar'"}
timeout {fail "(timeout) complete 'info func mar'"}
-re ".*$gdb_prompt $" { fail "complete 'info func marke'"}
timeout {fail "(timeout) complete 'info func marke'"}
}
}
-re ".*$gdb_prompt $" { fail "complete 'info func mar'" }
timeout { fail "(timeout) complete 'info func mar'" }
-re ".*$gdb_prompt $" { fail "complete 'info func marke'" }
timeout { fail "(timeout) complete 'info func marke'" }
}