Skip to content

Commit

Permalink
fix(test): solve EVT_FILTER_is_open_create failing test on emscripten
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Terzolo <andrea.terzolo@polito.it>
Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
  • Loading branch information
mrgian and Andreagit97 authored Aug 24, 2023
1 parent 2a23ad0 commit 1de6336
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 @@ -24,7 +24,7 @@ TEST_F(sinsp_with_test_input, EVT_FILTER_is_open_create)
open_inspector();

std::string path = "/home/file.txt";
int fd = 3;
int64_t fd = 3;

// In the enter event we don't send the `PPM_O_F_CREATED`
sinsp_evt* evt = add_event_advance_ts(increasing_ts(), 1, PPME_SYSCALL_OPEN_E, 3, path.c_str(),
Expand Down

0 comments on commit 1de6336

Please sign in to comment.