Documentation ¶
Index ¶
- func CheckFeatureTest(t *testing.T, fn func() error)
- func Files(t *testing.T, files []string, fn func(*testing.T, string))
- func Glob(tb testing.TB, pattern string, excludes ...string) []string
- func SkipIfNotSupported(tb testing.TB, err error)
- func SkipOnOldKernel(tb testing.TB, minVersion, feature string)
- func TempBPFFS(tb testing.TB) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFeatureTest ¶
func Files ¶ added in v0.6.0
Files calls fn for each given file.
The function errors out if the pattern matches no files.
func Glob ¶ added in v0.6.0
Glob finds files matching a pattern.
The pattern should may include full path. Excludes use the same syntax as pattern, but are only applied to the basename instead of the full path.
func SkipIfNotSupported ¶
func SkipOnOldKernel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.