[gdb/testsuite] Fix unterminated string in gdb.objc/basicclass.exp
authorTom de Vries <tdevries@suse.de>
Sun, 14 Jul 2019 11:23:04 +0000 (13:23 +0200)
committerTom de Vries <tdevries@suse.de>
Sun, 14 Jul 2019 11:23:04 +0000 (13:23 +0200)
The test-case gdb.objc/basicclass.exp contains an unterminated string,
introduced in refactoring commit fa43b1d7ca "after gdb_run_cmd, gdb_expect ->
gdb_test_multiple/gdb_test".

Fix the unterminated string.

gdb/testsuite/ChangeLog:

2019-07-14  Tom de Vries  <tdevries@suse.de>

PR testsuite/24760
* gdb.objc/basicclass.exp: Fix unterminated string.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.objc/basicclass.exp

index 91b90d88e3a722771e67a3032757f8f8d070292f..c24eed9114af53d823c1cfc4dc779462a2896451 100644 (file)
@@ -1,3 +1,8 @@
+2019-07-14  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/24760
+       * gdb.objc/basicclass.exp: Fix unterminated string.
+
 2019-07-12  Bernhard Heckel  <bernhard.heckel@intel.com>
            Andrew Burgess  <andrew.burgess@embecosm.com>
 
index d88655afb5b129fc09c179cc8dabc553a5a66d17..43b93cdaf9a644bddd2279e35a3a1887337025c5 100644 (file)
@@ -119,7 +119,7 @@ gdb_test continue \
 # Test resetting breakpoints when re-running program
 #
 gdb_run_cmd
-gdb_test "" "Breakpoint \[0-9\]+,.*main .*argc.*argv.* at .*$srcfile:.*" "resetting breakpoints when r
+gdb_test "" "Breakpoint \[0-9\]+,.*main .*argc.*argv.* at .*$srcfile:.*" "resetting breakpoints when rerunning"
 
 #
 # Continue until breakpoint (test re-setting breakpoint)