mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-07 23:14:45 +02:00
Clear expected child failure exit status after CLI assertions
This commit is contained in:
1 parent
787c66e009
commit
0403f14446
1 file changed
+2
@@ -21,3 +21,5 @@ Assert-Cli @('wec-collector','-LogProfile','ASD') 1 'LogProfile is supported onl
|
||||
Assert-Cli @('wef-source','-ChannelAction','Configure') 1 'Channel options require'
|
||||
Assert-Cli @('wef-source') 1 'WefConfigPath is required'
|
||||
Write-Host "WefDeployment.Cli.Tests: $script:count public CLI checks passed."
|
||||
# Expected child failures are asserted above; do not leak their exit code to CI.
|
||||
$global:LASTEXITCODE = 0
|
||||
Reference in new issue
Block a user