aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-09-27 17:50:47 +0000
committerFred Fish <fnf@specifix.com>1996-09-27 17:50:47 +0000
commit567417775d8694538d59374074de3f8751295df8 (patch)
treeee3fb4e4e4fb589893cdd6b9735c2b9d74d8bb5c /gdb/testsuite
parentfb0097a0ccfb9a89c0d90d0d8d054176bad8b7ec (diff)
downloadgdb-567417775d8694538d59374074de3f8751295df8.zip
gdb-567417775d8694538d59374074de3f8751295df8.tar.gz
gdb-567417775d8694538d59374074de3f8751295df8.tar.bz2
* gdb.base/a1-selftest.exp: Tweak tests to account for new
format for printing version. * gdb.base/default.exp: Ditto. * gdb.base/interrupt.exp: Fix problem with cascade of errors if child process dies while calling a function.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.base/a1-selftest.exp10
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/a1-selftest.exp b/gdb/testsuite/gdb.base/a1-selftest.exp
index 5699ad8..5a784f2 100644
--- a/gdb/testsuite/gdb.base/a1-selftest.exp
+++ b/gdb/testsuite/gdb.base/a1-selftest.exp
@@ -298,11 +298,19 @@ proc test_with_self {} {
# start the "xgdb" process
send "continue\n"
expect {
+ -re "GNU gdb \[0-9\.\]*.*
+Copyright \[0-9\]* Free Software Foundation, Inc.*
+GDB is free software, covered by the GNU General Public License, and you are.*
+welcome to change it and/or distribute copies of it under certain conditions.*
+Type \"show copying\" to see the conditions.*
+There is absolutely no warranty for GDB. Type \"show warranty\" for details.*
+This GDB was configured as .*$prompt $"\
+ { pass "xgdb is at prompt" }
-re "GDB is free software and you are welcome to distribute copies of it.*
under certain conditions; type \"show copying\" to see the conditions..*
There is absolutely no warranty for GDB; type \"show warranty\" for details..*
GDB.*Copyright \[0-9\]+ Free Software Foundation, Inc..*$prompt $"\
- { pass "xgdb is at prompt" }
+ { pass "xgdb is at prompt (obsolescent gdb)" }
-re ".*$prompt $" { fail "xgdb is at prompt" }
timeout { fail "(timeout) xgdb is at prompt" }
}