]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix gdb.python/py-infthread.exp test message typo
authorPedro Alves <palves@redhat.com>
Wed, 6 Jan 2016 11:31:52 +0000 (11:31 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 6 Jan 2016 11:31:52 +0000 (11:31 +0000)
gdb/testsuite/ChangeLog:
2016-01-06  Pedro Alves  <palves@redhat.com>

* gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-infthread.exp

index 45a6c6a57930121e1dc20ce8e4f498287091a6a4..959b85bc8f0a02d799cb9b63be599f6b3423c36c 100644 (file)
@@ -1,3 +1,7 @@
+2016-01-06  Pedro Alves  <palves@redhat.com>
+
+       * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
+
 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
 
        * gdb.btrace/dlopen.exp: New.
index 91cc4c2150a9d6f558bf18a9151d92143d2bb0e1..6e02d023e59867aa92ead75dd614fb6bed22a354 100644 (file)
@@ -41,7 +41,7 @@ if ![runto_main] then {
 
 gdb_py_test_silent_cmd "python t0 = gdb.selected_thread ()" "test gdb.selected_thread" 1
 gdb_test "python print (t0)" "\\<gdb.InferiorThread object at 0x\[\[:xdigit:\]\]+>" "verify InferiorThread object"
-gdb_test "python print ('result = %s' % t0.num)" " = \[0-9\]+" "test Inferior.num"
+gdb_test "python print ('result = %s' % t0.num)" " = 1" "test InferiorThread.num"
 gdb_test "python print ('result = %s' % str (t0.ptid))" " = \\(\[0-9\]+, \[0-9\]+, \[0-9\]+\\)" "test InferiorThread.ptid"
 
 gdb_py_test_silent_cmd "python name = gdb.selected_thread().name" \