From dc04902baa9d7e3b7e8cd75cdbe939c71529022f Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 21 Jul 2022 14:01:28 +0200 Subject: test: Drop further ^D in passt demo teardown Similar case as the one fixed by David's patch "tests: Remove unnecessary ^D in passt_in_ns teardown": we happen to pseudo-randomly close panes by unnecessarily exiting the parent shells there, and subsequent pane_wait directives hang. Signed-off-by: Stefano Brivio --- test/lib/setup | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'test') diff --git a/test/lib/setup b/test/lib/setup index 0d0f3cf..64a6119 100755 --- a/test/lib/setup +++ b/test/lib/setup @@ -329,13 +329,9 @@ teardown_two_guests() { teardown_demo_passt() { tmux send-keys -t ${PANE_GUEST} "C-c" pane_wait GUEST - tmux send-keys -t ${PANE_GUEST} "C-d" - - tmux send-keys -t ${PANE_HOST} "C-d" + tmux send-keys -t ${PANE_GUEST} "C-d" tmux send-keys -t ${PANE_PASST} "C-c" - pane_wait PASST - tmux send-keys -t ${PANE_PASST} "C-d" pane_wait GUEST pane_wait HOST -- cgit v1.2.3