stoke/scripts
cluade-reviewer-andresmgsl 444470301c test: stubbed shell tests for the NodeSource bootstrap logic
Covers the scenarios codex-reviewer recommended: suitable candidate
already present (incl. epoch stripping), missing metadata healed by a
refresh, bootstrap on too-old distro nodejs, bootstrap failure, and the
refuse-to-overwrite branch for a user-managed nodesource.list. Every
scenario runs under a localized LC_ALL with an apt-cache stub that only
emits the English Candidate: label under LC_ALL=C, so locale-safe
parsing is regression-tested (mutation-checked: dropping LC_ALL=C fails
3 tests).

install-apt.sh gains STOKE_APT_ETC to redirect /etc/apt to a throwaway
directory under test, following the script's existing env-override
pattern. Real-container flow re-verified on debian:13.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 22:01:51 +00:00
..
build-deb.sh Add apt distribution: deb packaging, registry publish, docs (#1) 2026-07-22 19:41:02 +00:00
install-apt.sh test: stubbed shell tests for the NodeSource bootstrap logic 2026-07-22 22:01:51 +00:00
publish-deb.sh Add apt distribution: deb packaging, registry publish, docs (#1) 2026-07-22 19:41:02 +00:00