blob: d74207859c42f170550dba5c4df3a46fdd00778d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package integrationtests
import "testing"
func TestPidfdGetfdSuccess(t *testing.T) {
runScenario(t, "pidfd-getfd-success", []ExpectedEvent{
{
PathContains: "pidfd-getfd-source.txt",
Tracepoint: "enter_pidfd_getfd",
Comm: "ioworkload",
MinCount: 1,
},
})
}
func TestPidfdGetfdFailure(t *testing.T) {
runScenario(t, "pidfd-getfd-failure", []ExpectedEvent{
{
Tracepoint: "enter_pidfd_getfd",
Comm: "ioworkload",
MinCount: 1,
},
})
}
|