testutil

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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