diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.gdb/xfullpath.exp | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 176ac03..165dd53 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> + + * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls. + 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com> * lib/java.exp (compile_java_from_source): Initialize ARGS as a list. diff --git a/gdb/testsuite/gdb.gdb/xfullpath.exp b/gdb/testsuite/gdb.gdb/xfullpath.exp index 9c39a71..9516a4f 100644 --- a/gdb/testsuite/gdb.gdb/xfullpath.exp +++ b/gdb/testsuite/gdb.gdb/xfullpath.exp @@ -103,37 +103,37 @@ proc test_with_self { executable } { } # A file which contains a directory prefix - gdb_test "print xfullpath (\"./xfullpath.exp\")" \ + gdb_test "print gdb_realpath (\"./xfullpath.exp\")" \ ".\[0-9\]+ =.*\".*/xfullpath.exp\"" \ "A filename with ./ as the directory prefix" # A file which contains a directory prefix - gdb_test "print xfullpath (\"../../defs.h\")" \ + gdb_test "print gdb_realpath (\"../../defs.h\")" \ ".\[0-9\]+ =.*\".*/defs.h\"" \ "A filename with ../ in the directory prefix" # A one-character filename - gdb_test "print xfullpath (\"./a\")" \ + gdb_test "print gdb_realpath (\"./a\")" \ ".\[0-9\]+ =.*\".*/a\"" \ "A one-char filename in the current directory" # A file in the root directory - gdb_test "print xfullpath (\"/root_file_which_should_exist\")" \ + gdb_test "print gdb_realpath (\"/root_file_which_should_exist\")" \ ".\[0-9\]+ =.*\"/root_file_which_should_exist\"" \ "A filename in the root directory" # A file which does not have a directory prefix - gdb_test "print xfullpath (\"xfullpath.exp\")" \ + gdb_test "print gdb_realpath (\"xfullpath.exp\")" \ ".\[0-9\]+ =.*\"xfullpath.exp\"" \ "A filename without any directory prefix" # A one-char filename without any directory prefix - gdb_test "print xfullpath (\"a\")" \ + gdb_test "print gdb_realpath (\"a\")" \ ".\[0-9\]+ =.*\"a\"" \ "A one-char filename without any directory prefix" # An empty filename - gdb_test "print xfullpath (\"\")" \ + gdb_test "print gdb_realpath (\"\")" \ ".\[0-9\]+ =.*\"\"" \ "An empty filename" |