feat: add phase 3 bun_binary bootstrap and tests

This commit is contained in:
Eric
2026-03-04 03:10:35 +00:00
parent bd6bebd562
commit 324ca9395b
7 changed files with 106 additions and 2 deletions

11
tests/binary_test/run_binary.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
binary="$1"
expected="$2"
output="$(${binary})"
if [[ "${output}" != "${expected}" ]]; then
echo "Unexpected output from ${binary}: ${output}" >&2
exit 1
fi