Support creating directories on erasure coded backend (#5443)

This PR continues from #5049 where we started supporting
directories for erasure coded backend
This commit is contained in:
Harshavardhana authored and Nitish Tiwari committed 2018-01-30 08:13:13 +05:30
1 parent 45c35b3544
commit 3ea28e9771
11 files changed
+155 -72

No files matched your search

+1 -1
View File
@@ -50,6 +50,7 @@ func TestIsValidVolname(t *testing.T) {
{"tHIS-ENDS-WITH-UPPERCASE", true},
{"ThisBeginsAndEndsWithUpperCase", true},
{"una ñina", true},
{"lalalallalallalalalallalallalala-theString-size-is-greater-than-64", true},
// cases for which test should fail.
// passing invalid bucket names.
{"", false},
@@ -58,7 +59,6 @@ func TestIsValidVolname(t *testing.T) {
{"ab", false},
{"ab/", true},
{"......", true},
{"lalalallalallalalalallalallalala-theString-size-is-greater-than-64", false},
}
for i, testCase := range testCases {