Skip to content

Commit

Permalink
test: add tests for capture command
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
  • Loading branch information
alegrey91 committed Dec 20, 2024
1 parent 1a75e4a commit 4b43235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ exists /tmp/test-ten/main_main
grep 'write' /tmp/test-ten/main_main
grep 'nanosleep' /tmp/test-ten/main_main

exec harpoon capture -f main.main -c -i 2 -S -D /tmp/test-infinite -- ./bin/example-app infinite &
exec harpoon capture -f main.main -c -i 2 -S -D /tmp/test-infinite -- ./bin/example-app infinite &infinite&
exec sleep 10
kill -KILL harpoon
kill -KILL infinite
exists /tmp/test-infinite/main_main
grep 'write' /tmp/test-infinite/main_main
grep 'nanosleep' /tmp/test-infinite/main_main
Expand Down

0 comments on commit 4b43235

Please sign in to comment.