feat: bun_script
Some checks failed
CI / test (ubuntu-latest, linux-x64) (push) Failing after 37s
CI / test (macos-14, darwin-arm64) (push) Has been cancelled
CI / test (windows-latest, windows) (push) Has been cancelled

This commit is contained in:
Eric
2026-03-06 19:51:52 +01:00
parent 66884263b7
commit a9e2be6f63
16 changed files with 214 additions and 9 deletions

11
tests/script_test/run_script.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