aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/manythreads.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-03-31 18:36:51 +0100
committerPedro Alves <palves@redhat.com>2015-04-01 15:30:13 +0100
commita14711808ece04167523a42f063ddb741e8ca866 (patch)
tree09869570f6b92394c03b69fecd41b6042f04fc5b /gdb/testsuite/gdb.threads/manythreads.exp
parent0bbeccb1eea844c2124eeb1e8d8d4a6cf7092d7a (diff)
downloadgdb-a14711808ece04167523a42f063ddb741e8ca866.zip
gdb-a14711808ece04167523a42f063ddb741e8ca866.tar.gz
gdb-a14711808ece04167523a42f063ddb741e8ca866.tar.bz2
gdb.threads/manythreads.exp: can't read "test": no such variable
If interrupt_and_wait manages to trigger the FAIL path, we get: ERROR OCCURED: can't read "test": no such variable gdb/testsuite/ChangeLog: 2015-04-01 Pedro Alves <palves@redhat.com> * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message to fail instead of non-existent $test.
Diffstat (limited to 'gdb/testsuite/gdb.threads/manythreads.exp')
-rw-r--r--gdb/testsuite/gdb.threads/manythreads.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp
index b031f68..2a55f86 100644
--- a/gdb/testsuite/gdb.threads/manythreads.exp
+++ b/gdb/testsuite/gdb.threads/manythreads.exp
@@ -95,7 +95,7 @@ proc interrupt_and_wait { message } {
# foo () at foo.c:31
# 31 bar ();
#
- fail $test
+ fail $message
}
}
}