lib/fs: Add test that symlinks are skipped on walk (#5644)

This commit is contained in:
Simon Frei
2019-04-10 22:36:37 +02:00
committed by GitHub
parent 9b2a73f9ab
commit 79360e2205
2 changed files with 47 additions and 0 deletions

View File

@@ -566,3 +566,9 @@ func TestRel(t *testing.T) {
}
}
}
func TestBasicWalkSkipSymlink(t *testing.T) {
_, dir := setup(t)
defer os.RemoveAll(dir)
testWalkSkipSymlink(t, FilesystemTypeBasic, dir)
}