Documentation
¶
Overview ¶
Package testsuite provides a integration testing suite for lisafs. These tests are intended for servers serving the local filesystem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAllLocalFSTests ¶
RunAllLocalFSTests runs all local FS tests as subtests.
Types ¶
type Tester ¶
type Tester interface {
// NewServer returns a new instance of the tester server.
NewServer(t *testing.T) *lisafs.Server
// LinkSupported returns true if the backing server supports LinkAt.
LinkSupported() bool
// SetUserGroupIDSupported returns true if the backing server supports
// changing UID/GID for files.
SetUserGroupIDSupported() bool
// BindSupported returns true if the backing server supports BindAt.
BindSupported() bool
}
Tester is the client code using this test suite. This interface abstracts away all the caller specific details.
Click to show internal directories.
Click to hide internal directories.