System.IO.FileSystem.AccessControl tests leave behind files ACL'ed to be difficult to delete #44766
Labels
area-System.IO
Cost:S
Work that requires one engineer up to 1 week
Priority:3
Work that is nice to have
test-bug
Problem in test source code (most likely)
Milestone
https://github.com/dotnet/runtime/blob/master/src/libraries/System.IO.FileSystem.AccessControl/tests/FileSystemAclExtensionsTests.cs#L475
In checking out some helix machines, I found various leftovers from these tests, some of which result in creating files and directories which are specific deny-acl'ed for all users.
Ideally any changes done like this could be cleaned up via a finally() block, since if a real user runs these tests locally their personal temp folder could be clogged up with the same.
The text was updated successfully, but these errors were encountered: