package testutil

import "github.com/containerd/continuity/testutil"

Index

Functions

func RequiresRoot

func RequiresRoot(t testing.TB)

RequiresRoot skips tests that require root, unless the test.root flag has been set

func Unmount

func Unmount(t *testing.T, mountPoint string)

Unmount unmounts a given mountPoint and sets t.Error if it fails

Source Files

helpers.go helpers_unix.go mount_linux.go

Directories

PathSynopsis
testutil/loopback
Version
v0.2.2
Published
Jan 7, 2022
Platform
linux/amd64
Imports
4 packages
Last checked
3 days ago

Tools for package owners.