s
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user