Skip to content

Commit

Permalink
chore: mscope: make scopes 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 some tester.sh functions as a start to concentrate all
  event filter tests in event_filters_test.go
  • Loading branch information
geyslan committed Feb 14, 2023
1 parent d6dff13 commit fdf1217
Show file tree
Hide file tree
Showing 9 changed files with 1,304 additions and 294 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 fdf1217

Please sign in to comment.