1
0
mirror of https://passt.top/passt synced 2024-07-04 08:52:40 +00:00
passt/test/tcp
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
..
passt test: Use context system for guest commands 2022-09-13 05:32:00 +02:00
passt_in_ns test: Use context system for guest commands 2022-09-13 05:32:00 +02:00
pasta test: Correctly match "background" with "wait" commands 2022-09-13 05:32:00 +02:00