PowerShell/test/powershell/Modules
jeffbi 2a739afa9c Fix Rename-Item to allow Unix globbing patterns in paths (#2799) (#3661)
* Fix Rename-Item to allow Unix globbing patterns in -Literal paths (#2799)

In the process of normalizing a relative path, PowerShell checks to see
see if the path exists, which it does by invoking
    Directory.EnumerateFiles(directory, filename);

On Unix platforms, if the filename contains globbing patterns, such as [ab],
EnumerateFiles (and EnumerateDirectories) will perform the globbing. Using
globbing patterns, a file named 'file[txt].txt' is reported as not existing.

This fix changes the file-existence test on Unix to use a native function
instead of either of the Directory.EnumerateXXX functions.

* Fix for AppVeyor failure

* Changes per code review, and a couple of letter-casing changes.
2017-05-02 18:42:16 -07:00
..
CimCmdlets Added tests to close code coverage in CIM area (#2528) 2016-11-17 11:46:07 -08:00
Microsoft.PowerShell.Core Make Out-Default -Transcript more robust in how it handles TranscribeOnly state (#3436) 2017-04-01 16:36:04 -07:00
Microsoft.PowerShell.Diagnostics Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Microsoft.Powershell.Host Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Microsoft.PowerShell.LocalAccounts Fix New-LocalUser cmdlet to roll back user in case of user attributes assignment failure. 2017-03-09 09:25:46 -08:00
Microsoft.PowerShell.Management Fix Rename-Item to allow Unix globbing patterns in paths (#2799) (#3661) 2017-05-02 18:42:16 -07:00
Microsoft.PowerShell.Security Add autoload for test modules (#3342) 2017-03-26 21:46:39 -07:00
Microsoft.PowerShell.Utility Mark '-SkipCertificateCheck' tests pending on OSX for now (#3660) 2017-04-27 18:15:59 -07:00
PackageManagement Jameswtruher/travisdaily2 (#2842) 2016-12-06 13:58:57 -08:00
PowerShellGet Move powershell to .NET Core 2.0 (#3556) 2017-04-17 11:52:38 -07:00
PSDesiredStateConfiguration corrected use of PSModulePath casing to be consistent with Windows PowerShell (#3255) 2017-03-15 12:04:28 -07:00
PSReadLine
map.json