(t *testing.T)
| 32 | } |
| 33 | |
| 34 | func TestLoadKernelModuleSpec(t *testing.T) { |
| 35 | if _, err := os.Stat("/sys/kernel/btf/bpf_testmod"); os.IsNotExist(err) { |
| 36 | t.Skip("/sys/kernel/btf/bpf_testmod not present") |
| 37 | } |
| 38 | |
| 39 | _, err := LoadKernelModuleSpec("bpf_testmod") |
| 40 | qt.Assert(t, qt.IsNil(err)) |
| 41 | } |
| 42 | |
| 43 | func TestCache(t *testing.T) { |
| 44 | c := NewCache() |
nothing calls this directly
no test coverage detected
searching dependent graphs…