passt/test/lib
David Gibson a32df9b6f4 test: Allow a tmux pane to watch commands executed in contexts
We're moving to a new way of the tests dispatching commands to running in
contexts (host, guest, namespace, etc.).  As we make this transition,
though, we still want the user to be able to watch the commands running
in a context, as they previously could from the commands issued in the
pane.

Add a helper to set up a pane to watch a context's log to allow this.  In
some cases we currently issue commands from several different logical
contexts in the same pane, so allow a pane to watch several contexts at
once.  Also use tail's --retry option to allow starting the watch before
we've initialized the context which will be useful in some cases.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2022-09-13 05:32:00 +02:00
..
context test: Context execution helpers 2022-09-13 05:32:00 +02:00
layout test: Add demo for Podman with pasta 2022-02-22 18:34:44 +01:00
perf_report test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00
setup test: Kill qemu by pidfile rather than ^C 2022-08-20 19:07:12 +02:00
term test: Allow a tmux pane to watch commands executed in contexts 2022-09-13 05:32:00 +02:00
test test: Rewrite test_iperf3 2022-09-07 11:01:22 +02:00
util tests: Remove unused set_mode() function 2022-07-14 01:32:42 +02:00
video test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00