1
0
mirror of https://passt.top/passt synced 2024-07-04 00:42:41 +00:00
passt/test/lib
David Gibson 56e755ba11 test: Use context system for guest commands
Extends the context system in the test scripts to allow executing commands
within a guest.  Do this without requiring an existing network in the guest
by using socat to run ssh via a vsock connection.

We do need some additional "sleep"s in the tests, because the new
faster dispatch means that sometimes we attempt to connect before
socat has managed to listen.

For now, only use this for the plain "passt" tests.  The "passt_in_ns" and
other tests have additional complications we still need to deal with.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2022-09-13 05:32:00 +02:00
..
context test: Use context system for guest commands 2022-09-13 05:32:00 +02:00
layout test: Use context system for guest commands 2022-09-13 05:32:00 +02:00
perf_report test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00
setup test: Use context system for guest commands 2022-09-13 05:32:00 +02:00
term test: Use context system for guest commands 2022-09-13 05:32:00 +02:00
test test: Integration of old-style pane execution and new context execution 2022-09-13 05:32:00 +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