From 4b43235ceaef7633a427587853e027ebb98320d9 Mon Sep 17 00:00:00 2001 From: Alessio Greggi Date: Fri, 20 Dec 2024 13:15:59 +0100 Subject: [PATCH] test: add tests for capture command Signed-off-by: Alessio Greggi --- tests/integration.txtar | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration.txtar b/tests/integration.txtar index b3d2fe8..8492808 100644 --- a/tests/integration.txtar +++ b/tests/integration.txtar @@ -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