summaryrefslogtreecommitdiff
path: root/integrationtests/sync_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrationtests/sync_test.go')
-rw-r--r--integrationtests/sync_test.go30
1 files changed, 30 insertions, 0 deletions
diff --git a/integrationtests/sync_test.go b/integrationtests/sync_test.go
index 5f6a314..763f3c2 100644
--- a/integrationtests/sync_test.go
+++ b/integrationtests/sync_test.go
@@ -44,3 +44,33 @@ func TestSyncSyncFileRange(t *testing.T) {
},
})
}
+
+func TestSyncFsyncEbadf(t *testing.T) {
+ runScenario(t, "sync-fsync-ebadf", []ExpectedEvent{
+ {
+ Tracepoint: "enter_fsync",
+ Comm: "ioworkload",
+ MinCount: 1,
+ },
+ })
+}
+
+func TestSyncFdatasyncEbadf(t *testing.T) {
+ runScenario(t, "sync-fdatasync-ebadf", []ExpectedEvent{
+ {
+ Tracepoint: "enter_fdatasync",
+ Comm: "ioworkload",
+ MinCount: 1,
+ },
+ })
+}
+
+func TestSyncFileRangeEbadf(t *testing.T) {
+ runScenario(t, "sync-file-range-ebadf", []ExpectedEvent{
+ {
+ Tracepoint: "enter_sync_file_range",
+ Comm: "ioworkload",
+ MinCount: 1,
+ },
+ })
+}