fix(#1332): verdict fixture 2 - herestring, not printf-pipe into grep -qF
ci/woodpecker/pr/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
pipefail-early-exit.test.mjs (static scan) flagged the fixture-2 check as a pipe into an early-exiting consumer; the sibling at fixture 1 already uses the herestring form. Red reproduced locally (one scan entry, exactly the flagged line), green after matching the sibling; verdict 4/4 and glyph 6/6 re-run green.
This commit is contained in:
@@ -56,7 +56,7 @@ tmux -L "$SOCKET" new-session -d -s noglyph -c "$TMP" \
|
||||
'PS1="sh-noglyph$ " exec bash --noprofile --norc -i'
|
||||
sleep 0.3
|
||||
out=$("$SEND" -L "$SOCKET" -t "=noglyph" -m "verdict fixture two must fail loud" 2>"$TMP/e2"); rc=$?
|
||||
if [ "$rc" -eq 0 ] && printf '%s' "$out" | grep -qF "✓ delivered"; then
|
||||
if [ "$rc" -eq 0 ] && grep -qF "✓ delivered" <<<"$out"; then
|
||||
ok "delivered: glyphless pane that submits => exit 0 (runtime-agnostic, E7 FIXED)"
|
||||
else
|
||||
no "delivered: glyphless pane that submits => exit 0" "rc=$rc out=[$out] err=[$(cat "$TMP/e2")]"
|
||||
|
||||
Reference in New Issue
Block a user