summaryrefslogtreecommitdiff
path: root/integrationtests/process_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrationtests/process_test.go')
-rw-r--r--integrationtests/process_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/integrationtests/process_test.go b/integrationtests/process_test.go
index e9cd739..291187d 100644
--- a/integrationtests/process_test.go
+++ b/integrationtests/process_test.go
@@ -2,8 +2,10 @@ package integrationtests
import "testing"
+var processExecTraceArgs = []string{"-trace-syscalls", "execve,execveat"}
+
func TestProcessExecLifecycle(t *testing.T) {
- result, _ := runScenarioResult(t, "process-exec-lifecycle", []ExpectedEvent{
+ result, _ := runScenarioResultWithIorArgs(t, "process-exec-lifecycle", []ExpectedEvent{
{
Tracepoint: "enter_execve",
PathContains: "ior-missing-execve-only",
@@ -16,7 +18,7 @@ func TestProcessExecLifecycle(t *testing.T) {
Comm: "ioworkload",
MinCount: 1,
},
- })
+ }, processExecTraceArgs)
assertEventDurationPositive(t, result, ExpectedEvent{
Tracepoint: "enter_execve",