testing/fstest, os: TestFS fails on os.DirFS if it contains any symlinks to directories #50401
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
What version of Go are you using (
go version
)?I also tried with:
Does this issue reproduce with the latest release?
Yes, 1.17.5 is the latest release. It also reproduces with go1.18beta1.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I ran this test (closely based on
testing/fstest
'sTestSymlink
):What did you expect to see?
I expected the test to pass.
What did you see instead?
I am not sure whether the problem is with
os.DirFS
or withfstest.TestFS
. See also:fs.FS
is in this situation)The text was updated successfully, but these errors were encountered: