Skip to content

Commit

Permalink
update(tests): fix emscripten build
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Terzolo <[email protected]>
  • Loading branch information
Andreagit97 committed Dec 4, 2024
1 parent 82f0d4b commit 1a548bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/test/filterchecks/evt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TEST_F(sinsp_with_test_input, EVT_FILTER_is_open_create) {
// The `fdinfo` is not populated in the enter event
ASSERT_FALSE(evt->get_fd_info());

uint32_t flags = PPM_O_RDWR | PPM_O_CREAT | PPM_O_F_CREATED;
uint32_t flags = (uint32_t)(PPM_O_RDWR | PPM_O_CREAT | PPM_O_F_CREATED);
evt = generate_open_x_event(sinsp_test_input::open_params{.flags = flags});
ASSERT_EQ(get_field_as_string(evt, "evt.is_open_create"), "true");
ASSERT_TRUE(evt->get_fd_info());
Expand Down

0 comments on commit 1a548bd

Please sign in to comment.