require

package
v1.0.0-rc.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Arch

func Arch(t *testing.T, arch string)

Arch checks the test machine has the specified architecture. If not, the test is skipped with a message.

func ArchIn

func ArchIn(t *testing.T, archs []string)

ArchIn checks the test machine is one of the specified archs. If not, the test is skipped with a message.

func Cgroups

func Cgroups(t *testing.T)

Cgroups checks that any cgroups version is enabled, if not the current test is skipped with a message.

func CgroupsFreezer

func CgroupsFreezer(t *testing.T)

CgroupsFreezer checks that cgroup freezer subsystem is available, if not the current test is skipped with a message

func CgroupsV1

func CgroupsV1(t *testing.T)

CgroupsV1 checks that cgroups v1 is enabled, if not the current test is skipped with a message.

func CgroupsV2

func CgroupsV2(t *testing.T)

CgroupsV2 checks that cgroups v2 is enabled, if not the current test is skipped with a message.

func Command

func Command(t *testing.T, command string)

Command checks if the provided command is found in one the path defined in the PATH environment variable, if not found the current test is skipped with a message.

func DMTCP added in v1.0.0

func DMTCP(t *testing.T)

DMTCP checks that a DMTCP stack is available

func Filesystem

func Filesystem(t *testing.T, fs string)

Filesystem checks that the current test could use the corresponding filesystem, if the filesystem is not listed in /proc/filesystems, the current test is skipped with a message.

func MkfsExt3

func MkfsExt3(t *testing.T)

MkfsExt3 checks that mkfs.ext3 is available and support -d option to create writable overlay layout.

func Network

func Network(t *testing.T)

Network check that bridge network is supported by system, if not the current test is skipped with a message.

func NvCCLI

func NvCCLI(t *testing.T)

NvCCLI checks that nvidia-container-cli is available

func Nvidia

func Nvidia(t *testing.T)

Nvidia checks that an NVIDIA stack is available

func Rocm

func Rocm(t *testing.T)

Rocm checks that a Rocm stack is available

func Seccomp

func Seccomp(t *testing.T)

Seccomp checks that seccomp is enabled, if not the current test is skipped with a message.

func UserNamespace

func UserNamespace(t *testing.T)

UserNamespace checks that the current test could use user namespace, if user namespaces are not enabled or supported, the current test is skipped with a message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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