Skip to content

[FileSystem] Bug: When creating chained sym links of different types targeting the other type MockFileSystem in windows doesn't throw #818

@pw-sgr

Description

@pw-sgr

The tests didn't succeed because I used FileSystem.File to create a directory symbolic link.

This was windows exclusive. @vbreuss should I include that behavior in the MockFileSystem? It currently works like linux where theres no difference between symbolic link created through File or Directory.

The goal of Testably.Abstractions is to behave the same as the real file system on all operating systems. So if you say that under Linux there is no difference between a symbolic link to a file and a directory, I would like this to be reflected in the MockFileSystem (I work under Windows, so testing the Linux behaviour for me is always done in the pipelines).

Maybe you could create a separate issue for this, @pw-sgr?

Originally posted by @vbreuss in #813 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions