aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/tls.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/tls.exp')
-rw-r--r--gdb/testsuite/gdb.threads/tls.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.threads/tls.exp b/gdb/testsuite/gdb.threads/tls.exp
index 5c07844..f6e988c 100644
--- a/gdb/testsuite/gdb.threads/tls.exp
+++ b/gdb/testsuite/gdb.threads/tls.exp
@@ -157,7 +157,7 @@ gdb_test "print a_thread_local" \
"Cannot read .a_thread_local. without registers"
if ![runto_main] then {
- fail "Can't run to main"
+ fail "can't run to main"
return 0
}
@@ -263,7 +263,7 @@ foreach i [array names spin_threads] {
}
if {$thrs_in_spin == 0} {
- fail "No thread backtrace reported spin (vsyscall kernel problem?)"
+ fail "no thread backtrace reported spin (vsyscall kernel problem?)"
}
gdb_test "continue" ".*Breakpoint 4.*before exit.*" "threads exited"
@@ -271,10 +271,10 @@ gdb_test "continue" ".*Breakpoint 4.*before exit.*" "threads exited"
send_gdb "info thread\n"
gdb_expect {
-re ".* 1 *Thread.*2 *Thread.*$gdb_prompt $" {
- fail "Too many threads left at end"
+ fail "too many threads left at end"
}
-re ".*\\\* 1 *Thread.*main.*$gdb_prompt $" {
- pass "Expect only base thread at end"
+ pass "expect only base thread at end"
}
-re ".*No stack.*$gdb_prompt $" {
fail "runaway at end"