aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/shadow.exp
diff options
context:
space:
mode:
authorLuis Machado <lgustavo@codesourcery.com>2016-12-01 14:41:23 -0600
committerLuis Machado <lgustavo@codesourcery.com>2016-12-01 14:41:23 -0600
commitcdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c (patch)
treef55a5c186bddaa1303dd8bdd1fcb9d8ad7a0bbc4 /gdb/testsuite/gdb.cp/shadow.exp
parentbc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69 (diff)
downloadfsf-binutils-gdb-cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c.zip
fsf-binutils-gdb-cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c.tar.gz
fsf-binutils-gdb-cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c.tar.bz2
Fix test names starting with uppercase using gdb_test on a single line.
Changes in v3: Fixed incorrect substitutions. This fixes offender testcases that have test names starting with uppercase when using gdb_test in a single line construct. gdb/testsuite/ChangeLog 2016-12-01 Luis Machado <lgustavo@codesourcery.com> Fix test names starting with uppercase throughout the files. * gdb.arch/i386-mpx-simple_segv.exp * gdb.arch/i386-mpx.exp * gdb.arch/i386-permbkpt.exp * gdb.arch/pa-nullify.exp * gdb.arch/powerpc-d128-regs.exp * gdb.arch/vsx-regs.exp * gdb.base/bfp-test.exp * gdb.base/break.exp * gdb.base/breakpoint-shadow.exp * gdb.base/callfuncs.exp * gdb.base/charset.exp * gdb.base/commands.exp * gdb.base/completion.exp * gdb.base/dfp-test.exp * gdb.base/echo.exp * gdb.base/ending-run.exp * gdb.base/eval.exp * gdb.base/expand-psymtabs.exp * gdb.base/float128.exp * gdb.base/floatn.exp * gdb.base/foll-exec-mode.exp * gdb.base/gdb1056.exp * gdb.base/gdb11531.exp * gdb.base/kill-after-signal.exp * gdb.base/multi-forks.exp * gdb.base/overlays.exp * gdb.base/pending.exp * gdb.base/sepdebug.exp * gdb.base/testenv.exp * gdb.base/valgrind-db-attach.exp * gdb.base/watch_thread_num.exp * gdb.base/watchpoint-cond-gone.exp * gdb.base/watchpoint.exp * gdb.base/watchpoints.exp * gdb.cp/arg-reference.exp * gdb.cp/baseenum.exp * gdb.cp/operator.exp * gdb.cp/shadow.exp * gdb.dwarf2/dw2-op-out-param.exp * gdb.dwarf2/dw2-reg-undefined.exp * gdb.go/chan.exp * gdb.go/hello.exp * gdb.go/integers.exp * gdb.go/methods.exp * gdb.go/package.exp * gdb.guile/scm-parameter.exp * gdb.guile/scm-progspace.exp * gdb.guile/scm-value.exp * gdb.mi/mi-pending.exp * gdb.mi/user-selected-context-sync.exp * gdb.multi/multi-attach.exp * gdb.multi/tids.exp * gdb.opt/clobbered-registers-O2.exp * gdb.pascal/floats.exp * gdb.pascal/integers.exp * gdb.python/py-block.exp * gdb.python/py-events.exp * gdb.python/py-parameter.exp * gdb.python/py-symbol.exp * gdb.python/py-symtab.exp * gdb.python/py-type.exp * gdb.python/py-value.exp * gdb.python/py-xmethods.exp * gdb.python/python.exp * gdb.reverse/break-precsave.exp * gdb.reverse/consecutive-precsave.exp * gdb.reverse/finish-precsave.exp * gdb.reverse/i386-precsave.exp * gdb.reverse/machinestate-precsave.exp * gdb.reverse/sigall-precsave.exp * gdb.reverse/solib-precsave.exp * gdb.reverse/step-precsave.exp * gdb.reverse/until-precsave.exp * gdb.reverse/watch-precsave.exp * gdb.server/ext-attach.exp * gdb.server/ext-restart.exp * gdb.server/ext-run.exp * gdb.server/ext-wrapper.exp * gdb.stabs/gdb11479.exp * gdb.stabs/weird.exp * gdb.threads/attach-many-short-lived-threads.exp * gdb.threads/kill.exp * gdb.threads/watchpoint-fork.exp
Diffstat (limited to 'gdb/testsuite/gdb.cp/shadow.exp')
-rw-r--r--gdb/testsuite/gdb.cp/shadow.exp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.cp/shadow.exp b/gdb/testsuite/gdb.cp/shadow.exp
index d6970ca..bdd02b2 100644
--- a/gdb/testsuite/gdb.cp/shadow.exp
+++ b/gdb/testsuite/gdb.cp/shadow.exp
@@ -39,7 +39,7 @@ if ![runto_main] then {
gdb_breakpoint [gdb_get_line_number "marker1"]
gdb_continue_to_breakpoint "marker1"
-gdb_test "print x" "= 33" "Print class x shadowing global x"
+gdb_test "print x" "= 33" "print class x shadowing global x"
############################################
@@ -49,7 +49,7 @@ gdb_test "print x" "= 33" "Print class x shadowing global x"
gdb_breakpoint [gdb_get_line_number "marker2"]
gdb_continue_to_breakpoint "marker2"
-gdb_test "print x" "= 44" "Print local x shadowing class x"
+gdb_test "print x" "= 44" "print local x shadowing class x"
############################################
# Test inner scope x is printed not outer scope
@@ -57,7 +57,7 @@ gdb_test "print x" "= 44" "Print local x shadowing class x"
gdb_breakpoint [gdb_get_line_number "marker3"]
gdb_continue_to_breakpoint "marker3"
-gdb_test "print x" "= 55" "Print inner scope x"
+gdb_test "print x" "= 55" "print inner scope x"
############################################
# Test printing local variable is not shadowed
@@ -66,7 +66,7 @@ gdb_test "print x" "= 55" "Print inner scope x"
gdb_breakpoint [gdb_get_line_number "marker4"]
gdb_continue_to_breakpoint "marker4"
-gdb_test "print x" "= 55" "Print local x not namespace x"
+gdb_test "print x" "= 55" "print local x not namespace x"
############################################
# Test imported namespace element is printed
@@ -79,4 +79,4 @@ if { [test_compiler_info {gcc-[0-3]-*}] ||
setup_xfail *-*-*
}
-gdb_test "print x" "= 11" "Print imported namespace x"
+gdb_test "print x" "= 11" "print imported namespace x"