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
ae3078f99a
fix: reject a null -Filter of Get-ChildItem2 and document the dot of the pattern
The escape of brackets in the pattern read the filter before the pattern could reject it, so a null filter ended in a NullReferenceException. The parameter now rejects null with a validation error that names it; an empty filter still matches no item.
The cmdlet compares each name that the enumeration returns with the pattern again. The two disagree for *.*: the enumeration returns every item, as Get-ChildItem does, and the comparison drops the names without a dot, files and folders alike. A test pins this and reaches the branch that drops an item; the help says that a dot is an ordinary character.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: AI Assistant <ai@example.com>
3 weeks ago
..
Lab
test(lab): guard first-hidden-item enumeration over SMB
3 weeks ago
Access.Tests.ps1
test: reach the owner restore of a descriptor retry and remove a deny entry from a descriptor
3 weeks ago
Audit.Tests.ps1
fix: show unknown parent in InheritedFrom, and only for inherited entries
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
test: exercise remaining descriptor and comparison outputs
3 weeks ago
ItemCmdlets.Tests.ps1
fix: reject a null -Filter of Get-ChildItem2 and document the dot of the pattern
3 weeks ago
Links.Tests.ps1
test: exercise item, link and descriptor failure paths
3 weeks ago
Manifest.Tests.ps1
fix: address the review of the -Attributes and Size alias changes
4 weeks ago
ObjectApis.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 weeks ago
OutputTypes.Tests.ps1
test: close the follow-ups of #110 that tests can reach
3 weeks ago
Owner.Tests.ps1
test: exercise item, link and descriptor failure paths
3 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
fix: end the cmdlet when a later command ends the pipeline
3 weeks ago
Privileges.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 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-rc7
3 weeks ago
SecurityDescriptor.Tests.ps1
test: reach the owner restore of a descriptor retry and remove a deny entry from a descriptor
3 weeks ago
SecurityDescriptorSets.Tests.ps1
test: cover -PassThru and the flag parameters of Add-NTFSAccess
3 weeks ago
TestHelpers.Tests.ps1
test: share the helpers for the administrative share
3 weeks ago
TestHelpers.psm1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 weeks ago
Wiki.Tests.ps1
docs: generate the wiki pages from Docs
4 weeks ago