diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-04-16 20:07:08 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-04-16 20:07:08 +0000 |
commit | 3fe60e3c145385bb5668ee7366fc9da6216a1ce5 (patch) | |
tree | bed6e462e390ee400bd83e656d3f8ce3ba5f6b8b /gdb/testsuite | |
parent | e64a344cc81e9ef3377a5920fb48e33e06992f01 (diff) | |
download | gdb-3fe60e3c145385bb5668ee7366fc9da6216a1ce5.zip gdb-3fe60e3c145385bb5668ee7366fc9da6216a1ce5.tar.gz gdb-3fe60e3c145385bb5668ee7366fc9da6216a1ce5.tar.bz2 |
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.
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'" } } |