Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
-
1
-
Windows 2016-06-01
Description
During MODULES-3137 it was found that module autoloading behaviour can cause a spec test to fail, in particular spec/integration/puppet_x/puppetlabs/powershell_manager_spec.rb:144
In this case the Microsoft.PowerShell.Utility at
C:\windows\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psm1
|
|
...
|
...
|
Export-ModuleMember -Function Get-FileHash
|
Export-ModuleMember -Function New-TemporaryFile
|
Export-ModuleMember -Function New-Guid
|
Export-ModuleMember -Function Format-Hex -Alias fhx
|
Export-ModuleMember -Function Import-PowerShellDataFile
|
Export-ModuleMember -Function ConvertFrom-SddlString
|
was causing extra Write-Verbose statements to be emitted by the module. The spec test should be modified to be accepting of autoloading verbose messages
Attachments
Issue Links
- relates to
-
MODULES-3137 Improve logoutput of Powershell Module
-
- Resolved
-