package testutil

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

Index

Functions

func RequiresRoot

func RequiresRoot(t testing.TB)

RequiresRoot does nothing on Windows

func RequiresRootM

func RequiresRootM()

RequiresRootM is similar to RequiresRoot but intended to be called from *testing.M.

func Unmount

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

Unmount unmounts a given mountPoint and sets t.Error if it fails Does nothing on Windows

Source Files

helpers.go helpers_windows.go

Version
v0.1.0
Published
Apr 17, 2021
Platform
windows/amd64
Imports
2 packages
Last checked
2 days ago

Tools for package owners.