(t *testing.T)
| 421 | } |
| 422 | |
| 423 | func TestLoadInvalidMapMissingSymbol(t *testing.T) { |
| 424 | file := testutils.NativeFile(t, "testdata/invalid_map_static-%s.elf") |
| 425 | _, err := LoadCollectionSpec(file) |
| 426 | t.Log(err) |
| 427 | if err == nil { |
| 428 | t.Fatal("Loading a map with static qualifier should fail") |
| 429 | } |
| 430 | } |
| 431 | |
| 432 | func TestLoadInitializedBTFMap(t *testing.T) { |
| 433 | testutils.Files(t, testutils.Glob(t, "testdata/btf_map_init-*.elf"), func(t *testing.T, file string) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…