Skip to content

Commit

Permalink
chore: make integration tests more robust
Browse files Browse the repository at this point in the history
- add generic functions to check received events in different manners:
  - ExpectAllInOrder
  - ExpectAllEqualTo
  - ExpectAtLeastOneOfEach
- add exec.go with helpers to run cmds via fork/exec and fork/syscall
- add waitForTraceeOutputEvents function to wait for tracee output
  events until buffer fills with certain number of events or
  timeout occurs
- remove tester.sh concentrating all event filter tests in
  event_filters_test.go
  • Loading branch information
geyslan committed Feb 15, 2023
1 parent d6dff13 commit 7910d6f
Show file tree
Hide file tree
Showing 9 changed files with 1,384 additions and 494 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ compile_commands.json
.vagrant

# binaries and build files
dist
dist
Loading

0 comments on commit 7910d6f

Please sign in to comment.