mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-02 07:34:45 +08:00
test(parity): align fixture supervisor provenance (#3387)
The deterministic fixture still modeled Alpine after the supervisor image switched to Debian, causing the wrapper to exit before producing parity evidence. Update its image expectations and launch evidence to match the current harness contract. Force the intentional replacement of the read-only staged artifact so BSD mv does not prompt when the deterministic parity test runs from a terminal. Signed-off-by: Kris Hicks <khicks@nvidia.com>
This commit is contained in:
+1
-1
@@ -301,7 +301,7 @@ if [ "${OPENSHELL_PARITY_TEST_MUTATE_ARTIFACT:-}" = "${OPENSHELL_PARITY_VARIANT}
|
||||
replacement="${OPENSHELL_GATEWAY_BIN}.replacement"
|
||||
printf '#!/usr/bin/env bash\nexit 0\n# mutated\n' >"${replacement}"
|
||||
chmod 0555 "${replacement}"
|
||||
mv "${replacement}" "${OPENSHELL_GATEWAY_BIN}"
|
||||
mv -f "${replacement}" "${OPENSHELL_GATEWAY_BIN}"
|
||||
fi
|
||||
if [ "${OPENSHELL_E2E_PODMAN_OPTION_PROFILE:-}" = podman-options ]; then
|
||||
case "${OPENSHELL_PARITY_VARIANT}" in baseline) pids=2048 ;; candidate) pids=31 ;; esac
|
||||
|
||||
Reference in New Issue
Block a user