diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/completion.exp | 18 |
2 files changed, 14 insertions, 9 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e9dbd62..c2c9879 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.base/completion.exp b/gdb/testsuite/gdb.base/completion.exp index 38bbd4b..9c721b1 100644 --- a/gdb/testsuite/gdb.base/completion.exp +++ b/gdb/testsuite/gdb.base/completion.exp @@ -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'" } } |