Skip to content

Commit 80c5f1a

Browse files
fix: use portable grep alternation in pulse test (#23676)
1 parent 64e75c1 commit 80c5f1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.agents/scripts/tests/test-pulse-cleanup-unregister.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ test_orphan_crash_skips_closed_issue_comment() {
171171
_record_orphan_crash_classification "feature/auto-20260515-123456-gh23379" 0 "owner/repo"
172172

173173
grep -q 'issue view 23379 --repo owner/repo' "$gh_log" || fail "closed orphan did not check issue state"
174-
if grep -q 'gh_issue_comment\|recover_failed_launch_state\|issues/23379/comments' "$gh_log"; then
174+
if grep -Eq 'gh_issue_comment|recover_failed_launch_state|issues/23379/comments' "$gh_log"; then
175175
fail "closed orphan posted or recovered issue state"
176176
fi
177177
grep -q 'Orphan cleanup skipped for #23379 (owner/repo): issue state=CLOSED' "$LOGFILE" || fail "closed orphan skip was not audited"

0 commit comments

Comments
 (0)