Normalize the exit code checking of the Pester tests. Add proper Chocolatey License check where needed.
Motivation and Context
This normalizes the exit code checking of the pester tests so that if they don't return as expected we have the output of the command. Also to bring some of the install/upgrade tests in line with the develop branch.
Testing
Ran through Test Kitchen in Team City (see link to gep13 in Slack)
Operating Systems Testing
Windows Server 2016/2019
Change Types Made
[ ] Bug fix (non-breaking change).
[ ] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
Description Of Changes
Normalize the exit code checking of the Pester tests. Add proper Chocolatey License check where needed.
Motivation and Context
This normalizes the exit code checking of the pester tests so that if they don't return as expected we have the output of the command. Also to bring some of the install/upgrade tests in line with the develop branch.
Testing
Ran through Test Kitchen in Team City (see link to gep13 in Slack)
Operating Systems Testing
Windows Server 2016/2019
Change Types Made
Change Checklist
Related Issue