This commit is contained in:
Jabberwocky238
2026-07-15 12:09:39 -04:00
parent a0fe361c1f
commit 3ed6a7d804
4 changed files with 55 additions and 8 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#
# Assumes the backend is already listening at $BASE (default :8091). Start it
# in another terminal, e.g.:
# go run ./cmd -root /tmp/sgtest -http :8091 -ssh :2222
# go run ./cmd daemon -root /tmp/sgtest -rpc :8091 -ssh :2222
# then run:
# ./tests/api_e2e.sh
#
+1 -1
View File
@@ -32,7 +32,7 @@ trap 'rm -rf "$WORK"; [ -n "$SG_PID" ] && kill "$SG_PID" 2>/dev/null' EXIT
mkdir -p "$ROOT"
# --- start simplegit (skip-auth: anon read+write, no console needed) ---
"$BIN" -rpc "$RPC" -ssh "" -root "$ROOT" -skip-auth >"$WORK/sg.log" 2>&1 &
"$BIN" daemon -rpc "$RPC" -ssh "" -root "$ROOT" -skip-auth >"$WORK/sg.log" 2>&1 &
SG_PID=$!
# wait until the HTTP port answers