aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
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
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')
-rw-r--r--gdb/testsuite/gdb.base/maint.exp4
-rw-r--r--gdb/testsuite/gdb.base/prelink.exp2
2 files changed, 3 insertions, 3 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 {
diff --git a/gdb/testsuite/gdb.base/prelink.exp b/gdb/testsuite/gdb.base/prelink.exp
index 945fa7b..9c6e226 100644
--- a/gdb/testsuite/gdb.base/prelink.exp
+++ b/gdb/testsuite/gdb.base/prelink.exp
@@ -90,7 +90,7 @@ if { $found == 0 } {
}
if {[catch "system \"prelink -uN ${libfile}\""] != 0} {
- untested "${libfile} was not prelinked, maybe system libraries are not prelinked?"
+ untested "${testfile}.so was not prelinked, maybe system libraries are not prelinked?"
return 0
}
catch "system \"prelink -qNR ${libfile}\""