[PATCH 2/4] testsuite, gdb.mi: fix duplicate test names in mi-break.exp

Tankut Baris Aktemur tankut.baris.aktemur@intel.com
Wed Apr 7 14:55:57 GMT 2021


gdb/testsuite/ChangeLog:
2021-04-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.mi/mi-break.exp: Fix the duplicate test names.
---
 gdb/testsuite/gdb.mi/mi-break.exp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gdb/testsuite/gdb.mi/mi-break.exp b/gdb/testsuite/gdb.mi/mi-break.exp
index a7c37b365e9..9d3d7ade6dc 100644
--- a/gdb/testsuite/gdb.mi/mi-break.exp
+++ b/gdb/testsuite/gdb.mi/mi-break.exp
@@ -93,7 +93,7 @@ proc test_tbreak_creation_and_listing {} {
 
     mi_gdb_test "777-break-delete" \
 	    "777\\^done" \
-	    "delete temp breakpoints"
+	    "delete tbreak temp breakpoints"
 }
 
 proc test_rbreak_creation_and_listing {} {
@@ -162,7 +162,7 @@ proc test_rbreak_creation_and_listing {} {
 
     mi_gdb_test "177-break-delete" \
 	    "177\\^done" \
-	    "delete temp breakpoints"
+	    "delete rbreak temp breakpoints"
 }
 
 proc test_abreak_creation {} {
@@ -281,7 +281,7 @@ proc test_breakpoint_commands {} {
 
     mi_gdb_test "-break-commands 9 \"bt\" \"set \$i=0\" \"while \$i<10\" \"print \$i\" \"set \$i=\$i+1\" \"end\" \"continue\" " \
         "\\^done" \
-        "breakpoint commands: set commands"
+        "breakpoint commands: set more commands"
 
     mi_send_resuming_command "exec-continue" "breakpoint commands: continue"
 
@@ -365,7 +365,7 @@ proc test_explicit_breakpoints {} {
 
     mi_gdb_test "-break-delete" \
 	    "\\^done" \
-	    "delete temp breakpoints"
+	    "delete explicit temp breakpoints"
 
     mi_create_breakpoint "-c \"intarg == 3\" --function callee2" \
 	"insert explicit conditional breakpoint in callee2" \
-- 
2.17.1



More information about the Gdb-patches mailing list