package testutils
import "github.com/cilium/ebpf/internal/testutils"
Index ¶
- func CheckFeatureTest(t *testing.T, fn func() error)
- func SkipIfNotSupported(tb testing.TB, err error)
- func SkipOnOldKernel(tb testing.TB, minVersion, feature string)
- func TestFiles(t *testing.T, pattern string, fn func(*testing.T, string))
Functions ¶
func CheckFeatureTest ¶
func SkipIfNotSupported ¶
func SkipOnOldKernel ¶
func TestFiles ¶
TestFiles calls fn for each file matching pattern.
The function errors out if the pattern matches no files.
Source Files ¶
- Version
- v0.1.0
- Published
- Nov 6, 2020
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 hour ago –
Tools for package owners.