macos-specific fixes.
h3rald h3rald@h3rald.com
Mon, 03 Aug 2026 17:47:34 +0200
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
test.sh
→
test.sh
@@ -116,7 +116,7 @@ need_file "$EXAMPLES_DIR/$img_basename"
local run_log="$TMPDIR/run.${img_basename}.log" local rc=0 - (cd "$EXAMPLES_DIR" && "$xyw_bin" "$img_basename" "${run_args[@]}" >"$out_file" 2>"$run_log") || rc=$? + (cd "$EXAMPLES_DIR" && "$xyw_bin" "$img_basename" "${run_args[@]+"${run_args[@]}"}" >"$out_file" 2>"$run_log") || rc=$? LAST_EXIT_CODE="$rc" LAST_STDERR_FILE="$run_log"@@ -312,10 +312,10 @@ else
ALLOW_NONZERO_EXIT="0" fi - run_image_capture_stdout "$XYW_BIN" "$img_basename" "$raw_out" "${run_args[@]}" + run_image_capture_stdout "$XYW_BIN" "$img_basename" "$raw_out" "${run_args[@]+"${run_args[@]}"}" normalize_crlf "$raw_out" "$norm_out" - "$assert_fn" "$norm_out" "${assert_args[@]}" + "$assert_fn" "$norm_out" "${assert_args[@]+"${assert_args[@]}"}" echo "-> PASS: $src_basename" }