* gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
authorMark Kettenis <kettenis@gnu.org>
Sat, 3 Jan 2004 23:49:31 +0000 (23:49 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 3 Jan 2004 23:49:31 +0000 (23:49 +0000)
return ${tests}" test.  The ${tests} already mentions the
filename.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/structs.exp

index 573dd4b..aac0fd0 100644 (file)
@@ -1,3 +1,9 @@
+2004-01-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
+       return ${tests}" test.  The ${tests} already mentions the
+       filename.
+
 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
 
        * gdb.cp/local.exp: Accept gcc abi 2.
index c0f596f..4627819 100644 (file)
@@ -285,7 +285,7 @@ proc test_struct_returns { n } {
 
     # Check that the program invalidated the relevant global.
     setup_kfails structs-tld i*86-*-* gdb/1447
-    gdb_test "p/c L${n}" " = [zed $n]" "zed L<n> for return; ${tests} .${testfile}."
+    gdb_test "p/c L${n}" " = [zed $n]" "zed L<n> for return; ${tests}"
 
     # Force the "return".  This checks that the return is always
     # performed, and that GDB correctly reported this to the user.