From de97fdd4a05cd7ad0b05444f1721f26c1ad9322f Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Thu, 1 Dec 2016 14:43:42 -0600 Subject: Fix test names starting with uppercase using gdb_test_multiple This fixes offender testcases that have test names starting with uppercase when using gdb_test_multiple in a single-line construct. gdb/testsuite/ChangeLog 2016-12-01 Luis Machado Fix test names starting with uppercase throughout the files. * gdb.arch/i386-bp_permanent.exp * gdb.arch/i386-gnu-cfi.exp * gdb.base/disasm-end-cu.exp * gdb.base/macscp.exp * gdb.base/pending.exp * gdb.base/watch_thread_num.exp * gdb.cp/exception.exp * gdb.cp/gdb2495.exp * gdb.cp/local.exp * gdb.python/py-evsignal.exp * gdb.python/python.exp * gdb.trace/tracecmd.exp --- gdb/testsuite/gdb.python/py-evsignal.exp | 2 +- gdb/testsuite/gdb.python/python.exp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/testsuite/gdb.python') diff --git a/gdb/testsuite/gdb.python/py-evsignal.exp b/gdb/testsuite/gdb.python/py-evsignal.exp index 9cf2702..f725688 100644 --- a/gdb/testsuite/gdb.python/py-evsignal.exp +++ b/gdb/testsuite/gdb.python/py-evsignal.exp @@ -37,7 +37,7 @@ gdb_test "test-events" "Event testers registered." gdb_test_no_output "set non-stop on" gdb_run_cmd -gdb_test_multiple "" "Signal Thread 3" { +gdb_test_multiple "" "signal Thread 3" { -re "event type: stop\r\nstop reason: signal\r\nstop signal: SIGUSR1\r\nthread num: 3\r\nevent type: stop\r\n.*$gdb_prompt $" { pass "thread 3 was signaled" } diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index 14cfffe..b657016 100644 --- a/gdb/testsuite/gdb.python/python.exp +++ b/gdb/testsuite/gdb.python/python.exp @@ -322,7 +322,7 @@ gdb_test_multiple "set prompt blah " "set blah in GDB" { } } -gdb_test_multiple "python gdb.prompt_hook = None" "Delete hook" { +gdb_test_multiple "python gdb.prompt_hook = None" "delete hook" { -re "\[\r\n\]$newprompt2 $" { pass "delete old hook" } -- cgit v1.1