From 3fe60e3c145385bb5668ee7366fc9da6216a1ce5 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Wed, 16 Apr 2003 20:07:08 +0000 Subject: [PATCH] 2003-04-16 Elena Zannoni * gdb.base/completion.exp: Make 'info func mark' complete on 'info func marke' instead. Update test name. --- gdb/testsuite/ChangeLog | 5 +++++ 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 + + * gdb.base/completion.exp: Make 'info func mark' complete on 'info + func marke' instead. Update test name. + 2003-04-15 David Carlton * 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'" } } -- 2.7.4