posix: Use preparePath only for paths used with syscall or os functions (#3377)

This commit is contained in:
Krishnan Parthasarathi
2016-12-01 10:26:16 +05:30
committed by Harshavardhana
parent 0d59ea1e94
commit feb6685359
3 changed files with 7 additions and 5 deletions

View File

@@ -23,7 +23,6 @@ import (
"io/ioutil"
"os"
"path"
"runtime"
"testing"
humanize "github.com/dustin/go-humanize"
@@ -329,9 +328,6 @@ func testObjectAPIPutObjectStaleFiles(obj ObjectLayer, instanceType string, disk
// Wrapper for calling Multipart PutObject tests for both XL multiple disks and single node setup.
func TestObjectAPIMultipartPutObjectStaleFiles(t *testing.T) {
if runtime.GOOS == "windows" {
return
}
ExecObjectLayerStaleFilesTest(t, testObjectAPIMultipartPutObjectStaleFiles)
}