mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
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:
committed by
Josh Avant
parent
20c9c6b1f9
commit
34cc32fa41
@@ -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}"; }
|
||||
|
||||
Reference in New Issue
Block a user