You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Raimund Andree
b436423ab8
fix(access): count a sequence as a list when its enumerator fails after the second element
The check of a list for -AccessType and -AppliesTo stops reading a collection
after the second element. The loop then releases the enumerator, and when that
failed the catch handed the collection to the conversion of PowerShell with
isList still false. PowerShell combines the numbers of a list bit by bit, so a
sequence of Allow and Deny whose enumerator throws in Dispose created a Deny
entry, and one of SubfoldersOnly and FilesOnly a scope that nobody named. The
catch keeps what the loop knows: two elements read make a list, which is
rejected like every other list. Only a custom enumerator can do this; the last
review of round 2 found it.
Tests, written first: 4 rows failed on the previous commit in all four
configurations and none fails now (a compiled stand-in whose enumerator throws
in Dispose, for AccessType and AppliesTo, named and piped).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: AI Assistant <ai@example.com>
2 weeks ago
..
Coverage
docs(coverage): record the CI run of the tests-only round
2 weeks ago
Lab
test(lab): record the acceptance of the published 5.0.0-rc8
2 weeks ago
Access.Tests.ps1
test(items,owner,access): bind four parameters by property name
2 weeks ago
Audit.Tests.ps1
test: cover deny entries without rights, a NULL DACL, hard links with read rights denied, and the extension methods
3 weeks ago
BasicUserRunner.Tests.ps1
fix(ci): preserve absolute basic-user result paths
3 weeks ago
DriveRoot.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 weeks ago
FileHash.Tests.ps1
test: cover relative paths, a missing drive and privilege control
3 weeks ago
Help.Tests.ps1
fix(help): ship the generated help file so Get-Help works (#93)
4 weeks ago
Inheritance.Tests.ps1
fix(security): report one audit inheritance by path and by descriptor
3 weeks ago
ItemCmdlets.Tests.ps1
test: describe the new tests by behavior, not by review finding
2 weeks ago
Links.Tests.ps1
test: make the stream rows independent of the error action, show the Init branch, and pin the dot rules
3 weeks ago
Manifest.Tests.ps1
fix: address the review of the -Attributes and Size alias changes
4 weeks ago
ObjectApis.Tests.ps1
test: describe the new tests by behavior, not by review finding
2 weeks ago
OutputTypes.Tests.ps1
test: close the follow-ups of #110 that tests can reach
3 weeks ago
Owner.Tests.ps1
test(items,owner,access): bind four parameters by property name
2 weeks ago
ParameterSets.Access.Tests.ps1
fix(access): count a sequence as a list when its enumerator fails after the second element
2 weeks ago
ParameterSets.Audit.Tests.ps1
fix(access): build the message of a bad parameter value even when the text of the value throws
2 weeks ago
ParameterSets.Inheritance.Tests.ps1
test(inheritance): close budget gaps for no-op, OpenError category, and unchanged-section pins
2 weeks ago
ParameterSets.Items.Tests.ps1
test(items,owner,access): bind four parameters by property name
2 weeks ago
PathErrors.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 weeks ago
PermissionScopes.Tests.ps1
test: cover permission scopes and folder inheritance transitions
3 weeks ago
PipelineControl.Tests.ps1
test: describe the new tests by behavior, not by review finding
2 weeks ago
Privileges.Tests.ps1
fix(privileges): report a malformed EnablePrivileges setting with one clear error
2 weeks ago
Publish-ModulePackage.Tests.ps1
fix(ci): verify package identity before publication recovery
3 weeks ago
Release.Tests.ps1
ci: publish releases from CI on a version tag, starting with 5.0.0-rc1
4 weeks ago
Remove-Item2.Tests.ps1
test: guard folder deletion and ownership recovery failures
3 weeks ago
Repository.Tests.ps1
chore(release): prepare 5.0.0-rc9
2 weeks ago
SecurityDescriptor.Tests.ps1
fix(securitydescriptor): make -SecurityDescriptor of Set-NTFSSecurityDescriptor the first positional parameter
2 weeks ago
SecurityDescriptorSets.Tests.ps1
test: cover -PassThru and the flag parameters of Add-NTFSAccess
3 weeks ago
TestHelpers.Tests.ps1
test: make the stream rows independent of the error action, show the Init branch, and pin the dot rules
3 weeks ago
TestHelpers.psm1
test: make the stream rows independent of the error action, show the Init branch, and pin the dot rules
3 weeks ago
Wiki.Tests.ps1
docs: generate the wiki pages from Docs
4 weeks ago