fix(supabase): R5.5 round 2 nits, e2e INIT_CWD, final error wording
This commit is contained in:
1 parent
56593af25c
commit
fad85c0f92
4 files changed
+6
-7
No files matched your search
@@ -27,7 +27,7 @@ expect() {
|
||||
local name=$1 want=$2 url=$3 key=$4; shift 4
|
||||
local out rc
|
||||
# Keys go through the environment of the binary and grep's pattern file, never on an argv.
|
||||
out=$(unset FAUNOSTEO_DEV_HOST; SUPABASE_URL="$url" SUPABASE_SERVICE_ROLE_KEY="$key" "$BIN" "$@" 2>&1); rc=$?
|
||||
out=$(unset FAUNOSTEO_DEV_HOST INIT_CWD; SUPABASE_URL="$url" SUPABASE_SERVICE_ROLE_KEY="$key" "$BIN" "$@" 2>&1); rc=$?
|
||||
LAST=$out
|
||||
if [ "$rc" -eq "$want" ] && ! grep -qF -f <(printf '%s\n' "$key" "$SERVICE" "$ANON") <<<"$out"; then
|
||||
echo "PASS $name (exit $rc)"
|
||||
|
||||
Reference in new issue
Block a user