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_other.go

Version
v0.4.3
Published
Oct 18, 2023
Platform
js/wasm
Imports
4 packages
Last checked
12 hours ago

Tools for package owners.