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 | 4 ----
1 file changed, 4 deletions(-)
diff --git a/test/lib/setup b/test/lib/setup
index 0d0f3cf..f77728a 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_PASST} "C-c"
pane_wait PASST
- tmux send-keys -t ${PANE_PASST} "C-d"
pane_wait GUEST
pane_wait HOST
--
2.35.1