* gdb.base/fixsection.exp: Do not include directories in filename
authorJoseph Myers <joseph@codesourcery.com>
Fri, 7 Oct 2011 00:24:38 +0000 (00:24 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 7 Oct 2011 00:24:38 +0000 (00:24 +0000)
in expected message.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/fixsection.exp

index 8f9efd1..2f70415 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * gdb.base/fixsection.exp: Do not include directories in filename
+       in expected message.
+
 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        Add tests for passing of environment variables to inferior.
index c83d720..c8db51a 100644 (file)
@@ -60,7 +60,7 @@ if ![runto_main] then {
 # set breakpoint at static function static_fun
 #
 gdb_test "break static_fun" \
-    "Breakpoint.*at.* file .*${srcfile}, line.*" \
+    "Breakpoint.*at.* file .*${testfile}\\.c, line.*" \
     "breakpoint at static_fun"
 
 #