test: parallelize docker aggregate

This commit is contained in:
Peter Steinberger
2026-04-23 14:29:34 +01:00
parent d3dc890821
commit e98331b0be
15 changed files with 382 additions and 75 deletions

View File

@@ -4,7 +4,7 @@ run_logged() {
local label="$1"
shift
local log_file
log_file="$(mktemp "${TMPDIR:-/tmp}/openclaw-${label}.XXXXXX.log")"
log_file="$(mktemp "${TMPDIR:-/tmp}/openclaw-${label}.XXXXXX").log"
if ! "$@" >"$log_file" 2>&1; then
cat "$log_file"
rm -f "$log_file"

View File

@@ -163,6 +163,18 @@ openclaw_live_join_csv() {
done
}
openclaw_live_append_array() {
local target_array="${1:?target array required}"
local source_array="${2:?source array required}"
local count
eval "count=\${#$source_array[@]}"
if ((count == 0)); then
return 0
fi
eval "$target_array+=(\"\${$source_array[@]}\")"
}
openclaw_live_stage_auth_into_home() {
local dest_home="${1:?destination home directory required}"
shift