tests/tmux-job: fix on macOS CI

The rapid input can make the screen look like this:

    fish: Job 1, 'sleep 0.5 &' has ended
    prompt 0> echo hello world
    prompt 0> sleep 3 | cat &
    bg %1 <= no check matches this, previous check on line 24
This commit is contained in:
Johannes Altmanninger
2025-10-11 18:00:02 +02:00
parent a4edb4020d
commit b88622bc35

View File

@@ -20,8 +20,5 @@ isolated-tmux capture-pane -p
isolated-tmux send-keys C-u C-l "sleep 3 | cat &" Enter "bg %1" Enter
tmux-sleep
isolated-tmux capture-pane -p | string match -v '*has stopped*'
# CHECK: prompt 0> sleep 3 | cat &
# CHECK: prompt 0> bg %1
isolated-tmux capture-pane -p | string match '*to background*'
# CHECK: Send job 1 'sleep 3 | cat &' to background
# CHECK: prompt 1>