Documentation ¶
Overview ¶
Package posixtest file systems for generic posix conformance.
Index ¶
- Variables
- func AppendWrite(t *testing.T, mnt string)
- func DirSeek(t *testing.T, mnt string)
- func DirectIO(t *testing.T, mnt string)
- func Fallocate(t *testing.T, mnt string)
- func FdLeak(t *testing.T, mnt string)
- func FileBasic(t *testing.T, mnt string)
- func FstatDeleted(t *testing.T, mnt string)
- func Link(t *testing.T, mnt string)
- func LinkUnlinkRename(t *testing.T, mnt string)
- func MkdirRmdir(t *testing.T, mnt string)
- func NlinkZero(t *testing.T, mnt string)
- func OpenAt(t *testing.T, mnt string)
- func ParallelFileOpen(t *testing.T, mnt string)
- func ReadDir(t *testing.T, mnt string)
- func ReadDirPicksUpCreate(t *testing.T, mnt string)
- func RenameOpenDir(t *testing.T, mnt string)
- func RenameOverwrite(t *testing.T, mnt string, destExists bool)
- func RenameOverwriteDestExist(t *testing.T, mnt string)
- func RenameOverwriteDestNoExist(t *testing.T, mnt string)
- func SymlinkReadlink(t *testing.T, mnt string)
- func TruncateFile(t *testing.T, mnt string)
- func TruncateNoFile(t *testing.T, mnt string)
Constants ¶
This section is empty.
Variables ¶
var All = map[string]func(*testing.T, string){ "AppendWrite": AppendWrite, "SymlinkReadlink": SymlinkReadlink, "FileBasic": FileBasic, "TruncateFile": TruncateFile, "TruncateNoFile": TruncateNoFile, "FdLeak": FdLeak, "MkdirRmdir": MkdirRmdir, "NlinkZero": NlinkZero, "FstatDeleted": FstatDeleted, "ParallelFileOpen": ParallelFileOpen, "Link": Link, "LinkUnlinkRename": LinkUnlinkRename, "RenameOverwriteDestNoExist": RenameOverwriteDestNoExist, "RenameOverwriteDestExist": RenameOverwriteDestExist, "RenameOpenDir": RenameOpenDir, "ReadDir": ReadDir, "ReadDirPicksUpCreate": ReadDirPicksUpCreate, "DirectIO": DirectIO, "OpenAt": OpenAt, "Fallocate": Fallocate, "DirSeek": DirSeek, }
All holds a map of all test functions
Functions ¶
func DirSeek ¶
DirSeek tests that seeking on a directory works for https://github.com/CalebQ42/go-fuse/issues/344 .
Go port of xfstests generic/257.
Hint: $ go test ./fs -run TestPosix/DirSeek -v
func FstatDeleted ¶
FstatDeleted is similar to NlinkZero, but Fstat()s multiple deleted files in random order and checks that the results match an earlier Stat().
Excercises the fd-finding logic in rawBridge.GetAttr.
func LinkUnlinkRename ¶
LinkUnlinkRename implements rename with a link/unlink sequence
func MkdirRmdir ¶
func ParallelFileOpen ¶
func ReadDir ¶
ReadDir creates 110 files one by one, checking that we get the expected entries after each file creation.
func ReadDirPicksUpCreate ¶
Readdir should pick file created after open, but before readdir.
func RenameOpenDir ¶
func SymlinkReadlink ¶
SymlinkReadlink tests basic symlink functionality
func TruncateFile ¶
func TruncateNoFile ¶
Types ¶
This section is empty.