Skip to content

Commit a18940e

Browse files
authored
display exit code for each atomic (#160)
1 parent 8e9d23b commit a18940e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Public/Invoke-AtomicTest.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ function Invoke-AtomicTest {
482482
$startTime = Get-Date
483483
$final_command = Merge-InputArgs $test.executor.command $test $InputArgs $PathToPayloads
484484
$res = Invoke-ExecuteCommand $final_command $test.executor.name $executionPlatform $TimeoutSeconds $session -Interactive:$Interactive
485+
Write-Host "Exit code: $($res.ExitCode)"
485486
$stopTime = Get-Date
486487
if ($isLoggingModuleSet) {
487488
&"$LoggingModule\Write-ExecutionLog" $startTime $stopTime $AT $testCount $test.name $test.auto_generated_guid $test.executor.name $test.description $final_command $ExecutionLogPath $executionHostname $executionUser $res (-Not($IsLinux -or $IsMacOS))

0 commit comments

Comments
 (0)