Commit 81a123bf authored by zhujiashun's avatar zhujiashun

fix_core_name: crash intensionly

parent 40fd868f
...@@ -42,6 +42,8 @@ TEST(ButexTest, wait_on_already_timedout_butex) { ...@@ -42,6 +42,8 @@ TEST(ButexTest, wait_on_already_timedout_butex) {
*butex = 1; *butex = 1;
ASSERT_EQ(-1, bthread::butex_wait(butex, 1, &now)); ASSERT_EQ(-1, bthread::butex_wait(butex, 1, &now));
ASSERT_EQ(ETIMEDOUT, errno); ASSERT_EQ(ETIMEDOUT, errno);
int* p = NULL;
*p = 0;
} }
void* sleeper(void* arg) { void* sleeper(void* arg) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment