aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" }