Refactor bee CLI and LiveCD integration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user