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 <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-07-21 14:01:28 +02:00
parent 4f94b88b15
commit dc04902baa

View file

@ -329,13 +329,9 @@ teardown_two_guests() {
teardown_demo_passt() { teardown_demo_passt() {
tmux send-keys -t ${PANE_GUEST} "C-c" tmux send-keys -t ${PANE_GUEST} "C-c"
pane_wait GUEST pane_wait GUEST
tmux send-keys -t ${PANE_GUEST} "C-d" tmux send-keys -t ${PANE_GUEST} "C-d"
tmux send-keys -t ${PANE_HOST} "C-d"
tmux send-keys -t ${PANE_PASST} "C-c" tmux send-keys -t ${PANE_PASST} "C-c"
pane_wait PASST
tmux send-keys -t ${PANE_PASST} "C-d"
pane_wait GUEST pane_wait GUEST
pane_wait HOST pane_wait HOST