[RFA] gdb.base/ending-run.exp: make all test names unique

Michael Elizabeth Chastain chastain@cygnus.com
Sun May 20 05:05:00 GMT 2001


This patch changes gdb.base/ending-run.exp to make all test names unique.

Testing: I tested this on native Red Hat Linux 7 and native Solaris 2.8.

OK to apply?

Michael

===

2001-05-19  Michael Chastain  <chastain@redhat.com>

	* gdb.base/ending-run.exp: Make all test names unique.

Index: gdb/testsuite/gdb.base/ending-run.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ending-run.exp,v
retrieving revision 1.5
diff -c -3 -p -r1.5 ending-run.exp
*** ending-run.exp	2001/03/06 08:21:50	1.5
--- ending-run.exp	2001/05/20 09:28:11
*************** gdb_test "b ending-run.c:1" ".*Breakpoin
*** 56,62 ****
  	"bpt at line before routine"
  
  gdb_test "b ending-run.c:13" \
! 	".*Note.*also.*Breakpoint 2.*ending-run.c, line 13.*"
  
  # Set up to go to the next-to-last line of the program
  #
--- 56,63 ----
  	"bpt at line before routine"
  
  gdb_test "b ending-run.c:13" \
! 	".*Note.*also.*Breakpoint 2.*ending-run.c, line 13.*" \
! 	"b ending-run.c:13, one"
  
  # Set up to go to the next-to-last line of the program
  #
*************** gdb_expect {
*** 81,87 ****
  # Test some other "clear" combinations
  #
  gdb_test "b ending-run.c:1" ".*Breakpoint.*4.*"
! gdb_test "b ending-run.c:13" ".*Note.*also.*Breakpoint.*5.*"
  gdb_test "cle ending-run.c:13" \
  	".*Deleted breakpoint 5.*" "Only cleared 1 by line"
  
--- 82,88 ----
  # Test some other "clear" combinations
  #
  gdb_test "b ending-run.c:1" ".*Breakpoint.*4.*"
! gdb_test "b ending-run.c:13" ".*Note.*also.*Breakpoint.*5.*" "b ending-run.c:13, two"
  gdb_test "cle ending-run.c:13" \
  	".*Deleted breakpoint 5.*" "Only cleared 1 by line"
  



More information about the Gdb-patches mailing list