mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user