From 7ea6d50732ba78e8dce48e5248b49ebd26b34825 Mon Sep 17 00:00:00 2001 From: Atirna <288419661+atirna@users.noreply.github.com> Date: Fri, 14 Aug 2026 12:46:50 +0530 Subject: [PATCH] test(bootstrap): reset expected child exit status --- skills/scripts/test-bootstrap-supply-chain.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/skills/scripts/test-bootstrap-supply-chain.ps1 b/skills/scripts/test-bootstrap-supply-chain.ps1 index 4f46448..e8062de 100644 --- a/skills/scripts/test-bootstrap-supply-chain.ps1 +++ b/skills/scripts/test-bootstrap-supply-chain.ps1 @@ -137,6 +137,7 @@ printf "pnpm|%s\n" "$*" >> "$BOOTSTRAP_PS_LOG" $powerShellHost = if ($PSVersionTable.PSEdition -eq 'Desktop') { Join-Path $PSHOME 'powershell.exe' } else { Join-Path $PSHOME 'pwsh' } $childOutput = @(& $powerShellHost -NoProfile -ExecutionPolicy Bypass -File (Join-Path $PSScriptRoot 'bootstrap-reverse.ps1') -Capability seclists -SkipRefresh) $childExitCode = $LASTEXITCODE + $global:LASTEXITCODE = 0 $childResult = ($childOutput -join [Environment]::NewLine) | ConvertFrom-Json Assert-True ($childExitCode -ne 0) 'failed public bootstrap exited successfully' Assert-True ($childResult.status -eq 'failed') 'failed public bootstrap did not report failed status'