Refactor bee CLI and LiveCD integration

This commit is contained in:
Mikhail Chusavitin
2026-03-13 16:52:16 +03:00
parent b7c888edb1
commit 6aca1682b9
47 changed files with 3137 additions and 1201 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
# Local integration test for bee audit binary (plan step 1.12).
# Local integration test for `bee audit` (plan step 1.12).
# Runs audit on current machine and validates required JSON fields.
set -eu
@@ -17,10 +17,10 @@ if ! command -v go >/dev/null 2>&1; then
exit 1
fi
echo "[test-local] running audit -> $OUT_FILE"
echo "[test-local] running bee audit -> $OUT_FILE"
(
cd "$ROOT_DIR/audit"
go run ./cmd/audit --output "file:$OUT_FILE"
go run ./cmd/bee audit --output "file:$OUT_FILE"
)
if [ ! -s "$OUT_FILE" ]; then