aboutgitcodebugslistschat
path: root/test/lib/layout
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-12 20:56:19 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-13 05:32:00 +0200
commit2f87265d8b25cbeeadfb662f2a46db00795747a3 (patch)
treeaee58a8338cec4da063f0a48c9bc0db0be8e5eaf /test/lib/layout
parentd9b9c252cd494e23056c3ec28080a88636409865 (diff)
downloadpasst-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.gz
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.bz2
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.lz
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.xz
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.zst
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.zip
test: Use new-style contexts for passt pane in the pasta and passt tests
Convert the pasta and passt tests to use new-style context execution for the things that run in the "passt" frame. Don't touch the passt_in_ns or two_guests tests yet, because they run passt inside a namespace which introduces some additional complications we have yet to handle. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/lib/layout')
-rw-r--r--test/lib/layout8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/lib/layout b/test/lib/layout
index 09c213a..95bd035 100644
--- a/test/lib/layout
+++ b/test/lib/layout
@@ -69,9 +69,7 @@ layout_pasta() {
tmux select-pane -t ${PANE_INFO} -T "test log"
pane_watch_contexts ${PANE_HOST} host host
-
- tmux pipe-pane -O -t ${PANE_PASST} "cat >> ${LOGDIR}/pane_passt.log"
- tmux select-pane -t ${PANE_PASST} -T "pasta"
+ pane_watch_contexts ${PANE_PASST} pasta passt
info_layout "single pasta instance with namespace"
@@ -104,9 +102,7 @@ layout_passt() {
tmux select-pane -t ${PANE_INFO} -T "test log"
pane_watch_contexts ${PANE_HOST} host host
-
- tmux pipe-pane -O -t ${PANE_PASST} "cat >> ${LOGDIR}/pane_passt.log"
- tmux select-pane -t ${PANE_PASST} -T "passt"
+ pane_watch_contexts ${PANE_PASST} passt passt
info_layout "single passt instance with guest"