From 27a320733dbeb84d701122dd5da80bc5635717f6 Mon Sep 17 00:00:00 2001 From: Carrie Roberts Date: Sat, 7 Oct 2023 13:28:55 -0600 Subject: [PATCH] display exit code for each atomic --- Public/Invoke-AtomicTest.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Public/Invoke-AtomicTest.ps1 b/Public/Invoke-AtomicTest.ps1 index 5971b02..36d1a70 100644 --- a/Public/Invoke-AtomicTest.ps1 +++ b/Public/Invoke-AtomicTest.ps1 @@ -482,6 +482,7 @@ function Invoke-AtomicTest { $startTime = Get-Date $final_command = Merge-InputArgs $test.executor.command $test $InputArgs $PathToPayloads $res = Invoke-ExecuteCommand $final_command $test.executor.name $executionPlatform $TimeoutSeconds $session -Interactive:$Interactive + Write-Host "Exit code: $($res.ExitCode)" $stopTime = Get-Date if ($isLoggingModuleSet) { &"$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))