summaryrefslogtreecommitdiff
path: root/integrationtests/iouring_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrationtests/iouring_test.go')
-rw-r--r--integrationtests/iouring_test.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/integrationtests/iouring_test.go b/integrationtests/iouring_test.go
index 20c156c..02d7a16 100644
--- a/integrationtests/iouring_test.go
+++ b/integrationtests/iouring_test.go
@@ -31,3 +31,23 @@ func TestIouringRegister(t *testing.T) {
},
})
}
+
+func TestIouringEnterEbadf(t *testing.T) {
+ runScenario(t, "iouring-enter-ebadf", []ExpectedEvent{
+ {
+ Tracepoint: "enter_io_uring_enter",
+ Comm: "ioworkload",
+ MinCount: 1,
+ },
+ })
+}
+
+func TestIouringRegisterEbadf(t *testing.T) {
+ runScenario(t, "iouring-register-ebadf", []ExpectedEvent{
+ {
+ Tracepoint: "enter_io_uring_register",
+ Comm: "ioworkload",
+ MinCount: 1,
+ },
+ })
+}