GetDrives on mac returns a DriveInfo.Name "/:\\" -- the colon and backslashes is not expected #927
Labels
area: testinghelpers
Issues that address the testing helpers
state: ready to pick
Issues that are ready for being worked on
type: bug
Issues that describe misbehaving functionality
Describe the bug
GetDrives on mac returns a DriveInfo.Name "/:\" -- the colon and backslashes is not expected
To Reproduce
Steps to reproduce the behavior:
In latest dotnet core on mac, something like this-
Expected behavior
Drive names on mac are usually something like "/", "/Volumes/NO NAME", "/Volumes/AMD" without colons.
Additional context
Also, Is there any workaround where I can define the DriveInfos in a MockFileSystem? Or do I have to create Nodes from which MFS derives the DriveInfos?
The text was updated successfully, but these errors were encountered: