diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-12 20:56:24 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-13 05:32:00 +0200 |
commit | 4381278b7d771b78fba2fe552ede33f8996b9f17 (patch) | |
tree | d512b1ecca9889ce84f2bb1ce4eee7f76c20069e /test/lib/layout | |
parent | 87a57156cfa8ee8263b3a842db70b5f7dc9c2362 (diff) | |
download | passt-4381278b7d771b78fba2fe552ede33f8996b9f17.tar passt-4381278b7d771b78fba2fe552ede33f8996b9f17.tar.gz passt-4381278b7d771b78fba2fe552ede33f8996b9f17.tar.bz2 passt-4381278b7d771b78fba2fe552ede33f8996b9f17.tar.lz passt-4381278b7d771b78fba2fe552ede33f8996b9f17.tar.xz passt-4381278b7d771b78fba2fe552ede33f8996b9f17.tar.zst passt-4381278b7d771b78fba2fe552ede33f8996b9f17.zip |
test: Use new-style command issue for passt_in_ns tests
Put the pieces together to use the new style context based dispatch for
the passt_in_pasta tests.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/lib/layout')
-rw-r--r-- | test/lib/layout | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/lib/layout b/test/lib/layout index b9d30e9..cc7c688 100644 --- a/test/lib/layout +++ b/test/lib/layout @@ -125,11 +125,8 @@ layout_passt_in_pasta() { get_info_cols - tmux pipe-pane -O -t ${PANE_GUEST} "cat >> ${LOGDIR}/pane_guest.log" - tmux select-pane -t ${PANE_GUEST} -T "guest" - - tmux pipe-pane -O -t ${PANE_NS} "cat >> ${LOGDIR}/pane_ns.log" - tmux select-pane -t ${PANE_NS} -T "namespace" + pane_watch_contexts ${PANE_GUEST} "guest" qemu guest + pane_watch_contexts ${PANE_NS} "namespace" ns tmux send-keys -l -t ${PANE_INFO} 'while cat /tmp/.passt_test_log_pipe; do :; done' tmux send-keys -t ${PANE_INFO} -N 100 C-m @@ -137,8 +134,7 @@ layout_passt_in_pasta() { 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 in pasta (namespace)" + pane_watch_contexts ${PANE_PASST} "passt in pasta (namespace)" pasta passt info_layout "passt and guest in namespace, connected by pasta" |