Skip to content

Commit

Permalink
chore(libsinsp_e2e): added log on failure
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Apr 10, 2024
1 parent 3eb277d commit e8cc9ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/libsinsp_e2e/forking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,8 @@ TEST_F(sys_call_test, forking_clone_fs)
sinsp_fdinfo* fdi = ti->get_fd(prfd);
if(fdi && fdi->tostring_clean().find(FILENAME) != std::string::npos)
{
EXPECT_EQ(parent_res, res);
EXPECT_EQ(parent_res, res) << "filename: "
<< fdi->tostring_clean() << " res: " << res << std::endl;
}
}
else if (ti->m_tid == child_tid)
Expand Down

0 comments on commit e8cc9ed

Please sign in to comment.