fix: smoke test grep to match compact JSON (no space after colon)
This commit is contained in:
@@ -26,7 +26,7 @@ spec:
|
||||
SUMMARY=$(curl -sf --max-time 15 --retry 3 --retry-delay 5 --retry-all-errors \
|
||||
"$API/api/summary")
|
||||
echo "$SUMMARY"
|
||||
echo "$SUMMARY" | grep -qF '"paper_mode": true' \
|
||||
echo "$SUMMARY" | grep -qE '"paper_mode"\s*:\s*true' \
|
||||
|| { echo "FAIL: paper_mode is not true"; exit 1; }
|
||||
echo "OK"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user