Skip to content

Commit 6b2d352

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
add tracing for test
1 parent e14c2c9 commit 6b2d352

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

resources/dism_dsc/tests/featureOnDemand_set.tests.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Describe 'Microsoft.Windows/FeatureOnDemandList - set operation' -Skip:(!$IsWind
2929
$knownCapability = 'SNMP.Client~~~~0.0.1.0'
3030

3131
# Get current state from dism.exe
32+
$out = dism /online /Get-Capabilities /Format:Table /English 2>&1 | Out-String
33+
write-verbose -verbose $out
3234
$script:initialInstalledState = Get-CapabilityState -capabilityName $knownCapability
3335
if (-not $script:initialInstalledState) {
3436
throw "Failed to parse capability state for $knownCapability during test setup. DISM output: $($dismOutput)"

0 commit comments

Comments
 (0)