aboutgitcodebugslistschat
path: root/test
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-07-21 14:01:28 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-07-22 19:41:42 +0200
commitdc04902baa9d7e3b7e8cd75cdbe939c71529022f (patch)
tree6f4d51808d21903d561cabec8e8616aff84bd421 /test
parent4f94b88b15f7a4d50d80d23216d58b8b367b3ccb (diff)
downloadpasst-dc04902baa9d7e3b7e8cd75cdbe939c71529022f.tar
passt-dc04902baa9d7e3b7e8cd75cdbe939c71529022f.tar.gz
passt-dc04902baa9d7e3b7e8cd75cdbe939c71529022f.tar.bz2
passt-dc04902baa9d7e3b7e8cd75cdbe939c71529022f.tar.lz
passt-dc04902baa9d7e3b7e8cd75cdbe939c71529022f.tar.xz
passt-dc04902baa9d7e3b7e8cd75cdbe939c71529022f.tar.zst
passt-dc04902baa9d7e3b7e8cd75cdbe939c71529022f.zip
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>
Diffstat (limited to 'test')
-rwxr-xr-xtest/lib/setup6
1 files changed, 1 insertions, 5 deletions
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