Skip to content

Commit efd6117

Browse files
committed
test(proof): accept numeric tmux signal reports
1 parent d2d62d8 commit efd6117

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎test/live-proof-review-environment.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,9 @@ test(
844844
do {
845845
const state = mediaProofCommandRunner("tmux", stateArgs, options);
846846
assert.equal(state.status, 0, String(state.stderr));
847-
if (String(state.stdout).trim().toUpperCase() === `${wrapperPid}|KILL`) {
847+
// tmux builds can report numeric signals or platform signal names.
848+
const paneStatus = String(state.stdout).trim().toUpperCase();
849+
if (paneStatus === `${wrapperPid}|KILL` || paneStatus === `${wrapperPid}|9`) {
848850
observedDeath = true;
849851
break;
850852
}

0 commit comments

Comments
 (0)