mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
posix: Use preparePath only for paths used with syscall or os functions (#3377)
This commit is contained in:
committed by
Harshavardhana
parent
0d59ea1e94
commit
feb6685359
@@ -1921,6 +1921,12 @@ type objTestStaleFilesType func(obj ObjectLayer, instanceType string, dirs []str
|
||||
// ExecObjectLayerStaleFilesTest - executes object layer tests those leaves stale
|
||||
// files/directories under .minio/tmp. Creates XL ObjectLayer instance and runs test for XL layer.
|
||||
func ExecObjectLayerStaleFilesTest(t *testing.T, objTest objTestStaleFilesType) {
|
||||
configPath, err := newTestConfig("us-east-1")
|
||||
if err != nil {
|
||||
t.Fatal("Failed to create config directory", err)
|
||||
}
|
||||
defer removeAll(configPath)
|
||||
|
||||
nDisks := 16
|
||||
erasureDisks, err := getRandomDisks(nDisks)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user