mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
Add some sleeps to fix the tmux-history-search test
This commit is contained in:
parent
0d9c737a47
commit
8c91d1421a
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ isolated-tmux capture-pane -p | grep 'prompt 2>'
|
|||
isolated-tmux send-keys C-c
|
||||
|
||||
isolated-tmux send-keys "echo sdifjsdoifjsdoifj" Enter
|
||||
tmux-sleep
|
||||
isolated-tmux capture-pane -p | grep "^sdifjsdoifjsdoifj\|prompt 3>"
|
||||
# CHECK: sdifjsdoifjsdoifj
|
||||
# CHECK: prompt 3>
|
||||
|
@ -55,6 +56,7 @@ isolated-tmux send-keys S-DC
|
|||
isolated-tmux capture-pane -p | grep "(no matches)"
|
||||
# CHECK: (no matches)
|
||||
isolated-tmux send-keys Enter C-e C-u "echo foo" Enter
|
||||
tmux-sleep
|
||||
isolated-tmux capture-pane -p | grep "^foo\|prompt 4>"
|
||||
# CHECK: foo
|
||||
# CHECK: prompt 4>
|
||||
|
|
Loading…
Reference in a new issue