fix: smoke test grep to match compact JSON (no space after colon)

This commit is contained in:
2026-04-23 09:22:53 +00:00
parent d3c03d5462
commit 8a8f33704c
+1 -1
View File
@@ -26,7 +26,7 @@ spec:
SUMMARY=$(curl -sf --max-time 15 --retry 3 --retry-delay 5 --retry-all-errors \ SUMMARY=$(curl -sf --max-time 15 --retry 3 --retry-delay 5 --retry-all-errors \
"$API/api/summary") "$API/api/summary")
echo "$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 "FAIL: paper_mode is not true"; exit 1; }
echo "OK" echo "OK"