...

Source file src/github.com/cilium/ebpf/link/syscalls_test.go

Documentation: github.com/cilium/ebpf/link

     1  package link
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/cilium/ebpf/internal/testutils"
     7  )
     8  
     9  func TestHaveProgAttach(t *testing.T) {
    10  	testutils.CheckFeatureTest(t, haveProgAttach)
    11  }
    12  
    13  func TestHaveProgAttachReplace(t *testing.T) {
    14  	testutils.CheckFeatureTest(t, haveProgAttachReplace)
    15  }
    16  
    17  func TestHaveBPFLink(t *testing.T) {
    18  	testutils.CheckFeatureTest(t, haveBPFLink)
    19  }
    20  

View as plain text