-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.WG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure
Description
Steps to reproduce
Update the profile script to implicitly or explicitly write to the output stream.
Run the test\powershell\Modules\Microsoft.PowerShell.Core\Out-Default.Tests.ps1 tests.
Expected behavior
All tests pass
Actual behavior
All tests fail.
The pattern in the tests assumes running powershell -c 'somescript' will only produce output from the script. The output from the profile is unexpected and causes the tests to fail.
For these types of tests; -Profile should also be specified.
PSVersion 6.0.0-beta
PSEdition Core
BuildVersion 3.0.0.0
CLRVersion
GitCommitId v6.0.0-beta.1-21-g73dd94197b5f4fb7a4d2ece325199bfd5caa64b1-dirty
OS Microsoft Windows 10.0.16209
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Metadata
Metadata
Assignees
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.WG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure