diff options
Diffstat (limited to 'integrationtests/close_test.go')
| -rw-r--r-- | integrationtests/close_test.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/integrationtests/close_test.go b/integrationtests/close_test.go index 3689fb8..36db476 100644 --- a/integrationtests/close_test.go +++ b/integrationtests/close_test.go @@ -24,6 +24,23 @@ func TestCloseRange(t *testing.T) { }) } +func TestCloseRangeBounded(t *testing.T) { + runScenario(t, "close-range-bounded", []ExpectedEvent{ + { + PathContains: "closerangelow-", + Tracepoint: "enter_close_range", + Comm: "ioworkload", + MinCount: 1, + }, + { + PathContains: "closerangehigh.txt", + Tracepoint: "enter_write", + Comm: "ioworkload", + MinCount: 1, + }, + }) +} + func TestCloseInvalidFd(t *testing.T) { runScenario(t, "close-invalid-fd", []ExpectedEvent{ { |
