Documentation ¶
Overview ¶
Package shelltestutils contains test utilities for working with the shell service like test file system directories and comparison tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirectoryContentsEqual ¶
DirectoryContentsEqual checks if the directory contents on the left and right are equal, excluding metadata (atime, mtime, mode, etc.)
Types ¶
type TestFileSystemInfo ¶
type TestFileSystemInfo struct { Root string SingleFileNested string SingleFileNestedData []byte InnerDir string }
TestFileSystemInfo contains information about where the file system is and some various file paths/details.
func SetupTestFileSystem ¶
func SetupTestFileSystem(t *testing.T, prefixData ...string) TestFileSystemInfo
SetupTestFileSystem sets up and returns a test file system for playing around with files. It contains a nested symlinked directory.
Click to show internal directories.
Click to hide internal directories.