diff options
| -rw-r--r-- | lldb/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lldb/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp b/lldb/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp index e35c73f29e4..80d21ec692b 100644 --- a/lldb/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp +++ b/lldb/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp @@ -210,8 +210,10 @@ TEST_F (ThreadStateCoordinatorTest, NotifyThreadCreateSignalsErrorOnAlreadyKnown // Let the coordinator know about our thread. SetupKnownStoppedThread (TRIGGERING_TID); - // Notify an unknown thread has stopped. + // Notify the thread was created - again. NotifyThreadCreate (TRIGGERING_TID, true); + + // This should error out. ASSERT_PROCESS_NEXT_EVENT_FAILS (); } @@ -220,8 +222,10 @@ TEST_F (ThreadStateCoordinatorTest, NotifyThreadDeathSignalsErrorOnUnknownThread { const lldb::tid_t UNKNOWN_TID = 678; - // Notify an unknown thread has stopped. + // Notify an unknown thread has died. NotifyThreadDeath (UNKNOWN_TID); + + // This should error out. ASSERT_PROCESS_NEXT_EVENT_FAILS (); } |

