From 8304fd0fd088a9d0c738e8c55f272471fe863e8c Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Wed, 8 Jan 2025 17:19:50 +0100 Subject: [PATCH] tmux-job: Add more sleeps --- tests/checks/tmux-job.fish | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/checks/tmux-job.fish b/tests/checks/tmux-job.fish index dd1d98594..25b9a72a6 100644 --- a/tests/checks/tmux-job.fish +++ b/tests/checks/tmux-job.fish @@ -4,10 +4,13 @@ isolated-tmux-start isolated-tmux send-keys \ - "sleep 0.5 &" Enter \ + "sleep 0.5 &" Enter +sleep 0.1 +isolated-tmux send-keys \ "echo hello" -sleep 1 +sleep 0.6 isolated-tmux send-keys Space world +sleep 0.1 isolated-tmux capture-pane -p # CHECK: prompt 0> sleep 0.5 & # CHECK: prompt 0> echo hello