From 2f87265d8b25cbeeadfb662f2a46db00795747a3 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Mon, 12 Sep 2022 20:56:19 +1000 Subject: 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 --- test/lib/layout | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/lib/layout') 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" -- cgit v1.2.3