This commit fixes a regression introduced in f187a16962
the regression returned AccessDenied when a client is trying to create an empty
directory on a existing prefix, though it should return 200 OK to be close as
much as possible to S3 specification.
t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but instead failed with error \"%s\" instead.",i+1,instanceType,testCase.expectedError.Error(),actualErr.Error())
t.Errorf("Test %d: %s: Expected to fail with error \"%v\", but instead failed with error \"%v\" instead.",i+1,instanceType,testCase.expectedError,actualErr)
}
// Test passes as expected, but the output values are verified for correctness here.