summaryrefslogtreecommitdiff
path: root/integrationtests/close_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-21 19:28:23 +0200
committerPaul Buetow <paul@buetow.org>2026-02-21 19:28:23 +0200
commita5b711c5f221704209706b79fbf310a18e079391 (patch)
tree84615902f79a901aa9d98e3423c4756477b7cf4b /integrationtests/close_test.go
parent2c2cbe07f5e10fdb996e2a039cde84be44866f18 (diff)
more on integration tests
Diffstat (limited to 'integrationtests/close_test.go')
-rw-r--r--integrationtests/close_test.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/integrationtests/close_test.go b/integrationtests/close_test.go
new file mode 100644
index 0000000..d91a37d
--- /dev/null
+++ b/integrationtests/close_test.go
@@ -0,0 +1,25 @@
+package integrationtests
+
+import "testing"
+
+func TestCloseBasic(t *testing.T) {
+ runScenario(t, "close-basic", []ExpectedEvent{
+ {
+ PathContains: "closefile-",
+ Tracepoint: "enter_close",
+ Comm: "ioworkload",
+ MinCount: 3,
+ },
+ })
+}
+
+func TestCloseRange(t *testing.T) {
+ runScenario(t, "close-range", []ExpectedEvent{
+ {
+ PathContains: "closerangefile-",
+ Tracepoint: "enter_close_range",
+ Comm: "ioworkload",
+ MinCount: 1,
+ },
+ })
+}