fix(test): mock download/validate for Debian NodeSource install path

install_node now calls validate_downloaded_script after the NodeSource
download step. The Debian pacman-ignore harness did not mock those
helpers, so empty mktemp files failed closed and status was 1.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
This commit is contained in:
Sebastien Tardif
2026-07-16 08:40:56 -04:00
committed by Josh Avant
parent 20c9c6b1f9
commit 34cc32fa41
+2
View File
@@ -259,6 +259,8 @@ NODE
is_alpine_linux() { return 1; }
pacman() { printf 'pacman:%s\\n' "$*"; }
apt-get() { :; }
download_file() { :; }
validate_downloaded_script() { return 0; }
ui_info() { printf 'info:%s\\n' "$*"; }
ui_success() { :; }
run_required_step() { printf 'step:%s|%s\\n' "$1" "\${*:2}"; }