testutils

package
v0.0.0-...-3fc9ab3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFeatureTest

func CheckFeatureTest(t *testing.T, fn func() error)

func SkipIfNotSupported

func SkipIfNotSupported(tb testing.TB, err error)

func SkipOnOldKernel

func SkipOnOldKernel(tb testing.TB, minVersion, feature string)

func TestFiles

func TestFiles(t *testing.T, pattern string, fn func(*testing.T, string))

TestFiles calls fn for each file matching pattern.

The function errors out if the pattern matches no files.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL