mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
fix: Bring support for symlink on regular files on NAS (#11383)
fixes #11203
This commit is contained in:
@@ -149,7 +149,8 @@ func setupTestReadDirSymlink(t *testing.T) (testResults []result) {
|
||||
}
|
||||
// Add to entries.
|
||||
entries = append(entries, name1)
|
||||
// Symlinks are ignored.
|
||||
// Symlinks are preserved for regular files
|
||||
entries = append(entries, name2)
|
||||
}
|
||||
if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0777); err != nil {
|
||||
t.Fatalf("Unable to create \"mydir\", %s", err)
|
||||
|
||||
Reference in New Issue
Block a user