summaryrefslogtreecommitdiff
path: root/integrationtests
diff options
context:
space:
mode:
Diffstat (limited to 'integrationtests')
-rw-r--r--integrationtests/socket_test.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/integrationtests/socket_test.go b/integrationtests/socket_test.go
new file mode 100644
index 0000000..a48d628
--- /dev/null
+++ b/integrationtests/socket_test.go
@@ -0,0 +1,21 @@
+package integrationtests
+
+import "testing"
+
+func TestSocketBasic(t *testing.T) {
+ runScenario(t, "socket-basic", []ExpectedEvent{
+ {
+ Tracepoint: "enter_socket",
+ MinCount: 1,
+ },
+ })
+}
+
+func TestSocketpairBasic(t *testing.T) {
+ runScenario(t, "socketpair-basic", []ExpectedEvent{
+ {
+ Tracepoint: "enter_socketpair",
+ MinCount: 1,
+ },
+ })
+}