testutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TempDir

func TempDir() string

TempDir creates a temporary directory that includes the name of the testcase. Panics if there was an I/O problem creating the directory.

func TestLoopbackUtimens

func TestLoopbackUtimens(t *testing.T, path string, utimensFn func(atime *time.Time, mtime *time.Time) fuse.Status)

Check that loopback Utimens() works as expected. Called by TestLoopbackFileUtimens and TestLoopbackFileSystemUtimens.

Parameters:

path ........ path to the backing file
utimensFn ... Utimens() function that acts on the backing file

func VerboseTest

func VerboseTest() bool

VerboseTest returns true if the testing framework is run with -v.

Types

This section is empty.

Jump to

Keyboard shortcuts

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