Skip to content

Commit 7133d07

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
change test to use RIP.Listener
1 parent bbaa793 commit 7133d07

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

resources/dism_dsc/tests/featureOnDemand_set.tests.ps1

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ Describe 'Microsoft.Windows/FeatureOnDemandList - set operation' -Skip:(!$IsWind
2525
}
2626
}
2727

28-
# Use SNMP as known capability since it is small
29-
$knownCapability = 'SNMP.Client~~~~0.0.1.0'
28+
# Use RIP.Listener as known capability since it is small
29+
$knownCapability = 'RIP.Listener~~~~0.0.1.0'
3030

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

0 commit comments

Comments
 (0)