* gdb.base/help.exp: Replace most of docstring for "define" with ".*".

This commit is contained in:
Jim Kingdon 1995-01-11 20:45:59 +00:00
parent 4a2170f0ea
commit 8bc8001669
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,7 @@
Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* gdb.base/help.exp: Replace most of docstring for "define" with ".*".
* gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
was a vestige of the manual TESTSTRATEGY, and the purpose of it
was to make sure that gdb can read a core file. But (a) the "read

View File

@ -382,11 +382,7 @@ Command name abbreviations are allowed if unambiguous..*$prompt $"\
# test help define
send "help define\n"
expect {
-re "Define a new command name. Command name is argument..*
Definition appears on following lines, one command per line..*
End with a line of just \"end\"..*
Use the \"document\" command to give documentation for the new command..*
Commands defined in this way do not take arguments..*$prompt $"\
-re "Define a new command.*$prompt $"\
{ pass "help define" }
-re "$prompt $" { fail "help define" }
timeout { fail "(timeout) help define" }