aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-01-11 20:45:59 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-01-11 20:45:59 +0000
commit8bc8001669394c9c91f3b38886a1b34e6f17f878 (patch)
treed18ec327d565dcbbf9e157ce46ac591960c691ac /gdb
parent4a2170f0eafa77800008536294b63a0ffe785fff (diff)
downloadgdb-8bc8001669394c9c91f3b38886a1b34e6f17f878.zip
gdb-8bc8001669394c9c91f3b38886a1b34e6f17f878.tar.gz
gdb-8bc8001669394c9c91f3b38886a1b34e6f17f878.tar.bz2
* gdb.base/help.exp: Replace most of docstring for "define" with ".*".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog2
-rw-r--r--gdb/testsuite/gdb.base/help.exp6
2 files changed, 3 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index afc65c6..0b4152b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.base/help.exp b/gdb/testsuite/gdb.base/help.exp
index d585b8d..0fd2f77 100644
--- a/gdb/testsuite/gdb.base/help.exp
+++ b/gdb/testsuite/gdb.base/help.exp
@@ -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" }