aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/maint.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-02-27 13:54:04 +0000
committerDaniel Jacobowitz <drow@false.org>2007-02-27 13:54:04 +0000
commitc499ed39b6662c1fdf22d65f6049df2603f85880 (patch)
tree16318b11a6961defb7b56e547b87211e25e00e33 /gdb/testsuite/gdb.base/maint.exp
parent903b1f5b5baab68c9893a97d0dd7e1ca13e24451 (diff)
downloadgdb-c499ed39b6662c1fdf22d65f6049df2603f85880.zip
gdb-c499ed39b6662c1fdf22d65f6049df2603f85880.tar.gz
gdb-c499ed39b6662c1fdf22d65f6049df2603f85880.tar.bz2
* gdb.base/maint.exp: Remove full paths from test names.
* gdb.base/prelink.exp, gdb.cp/cp-relocate.exp, gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/maint.exp')
-rw-r--r--gdb/testsuite/gdb.base/maint.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/maint.exp b/gdb/testsuite/gdb.base/maint.exp
index 07e61cc..eefa535 100644
--- a/gdb/testsuite/gdb.base/maint.exp
+++ b/gdb/testsuite/gdb.base/maint.exp
@@ -329,7 +329,7 @@ gdb_expect {
# Check that maint print msymbols allows relative pathnames
set mydir [pwd]
-gdb_test "cd ${objdir}" "Working directory [string_to_regexp ${objdir}]\..*"
+gdb_test "cd ${objdir}" "Working directory [string_to_regexp ${objdir}]\..*" "cd to objdir"
gdb_test_multiple "maint print msymbols msymbols_output2 ${subdir}/${testfile}" "maint print msymbols" {
-re "^maint print msymbols msymbols_output2 \[^\n\]*\r\n$gdb_prompt $" {
gdb_test_multiple "shell ls msymbols_output2" "maint print msymbols" {
@@ -362,7 +362,7 @@ gdb_test_multiple "maint print msymbols msymbols_output2 ${subdir}/${testfile}"
fail "(timeout) maint print msymbols"
}
}
-gdb_test "cd ${mydir}" "Working directory [string_to_regexp ${mydir}]\..*"
+gdb_test "cd ${mydir}" "Working directory [string_to_regexp ${mydir}]\..*" "cd to mydir"
send_gdb "maint print symbols\n"
gdb_expect {