Skip to content

Commit

Permalink
fix(libsinsp_e2e): force changes to disk
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Apr 12, 2024
1 parent 081e251 commit 7b3e568
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/libsinsp_e2e/forking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ static int clone_callback_1(void* arg)
// using a weird clone() here something goes wrong with
// recent version of glibc
ctid = syscall(SYS_getpid);
fsync(cp->fd);
close(cp->fd);
return 0;
}
Expand Down

0 comments on commit 7b3e568

Please sign in to comment.