From 9e7b820cfacb50299720b9d391de907d6f3fbdec Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 23 Feb 2026 09:55:29 +0200 Subject: Fix integration trace expectations and fd/open event handling --- integrationtests/open_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'integrationtests/open_test.go') diff --git a/integrationtests/open_test.go b/integrationtests/open_test.go index 8dfbba6..dae5244 100644 --- a/integrationtests/open_test.go +++ b/integrationtests/open_test.go @@ -84,9 +84,12 @@ func TestOpenPidFilter(t *testing.T) { }) // Child's file should NOT be captured (different PID). + // Scope to openat so parent cleanup unlink/rmdir operations on childfile + // do not create false positives. AssertEventsAbsent(t, result, []ExpectedEvent{ { PathContains: "childfile.txt", + Tracepoint: "enter_openat", }, }) } -- cgit v1.2.3