passt/test/lib
David Gibson 0a15b467d4 test: Use --config-net for namespace setup
The setup functions for passt_in_ns and two_guests perform some fairly slow
dhclient calls to configure the network in the namespace before starting
the guest.  This isn't really part of the tests, just necessary for the
operations later.

We can simplify and speed this up a bit by using pasta's '--config-net'
option to configure the networking for us.  As a bonus this means we have
at least a minimal test of the --config-net option itself.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2022-09-29 12:21:13 +02:00
..
context test: Add wait_for() shell helper 2022-09-29 12:20:44 +02:00
layout test: Move passt_test_log_pipe to state directory 2022-09-13 11:12:41 +02:00
perf_report test/lib: Don't try to write to perf.js when running demos 2022-09-24 00:11:10 +02:00
setup test: Use --config-net for namespace setup 2022-09-29 12:21:13 +02:00
term test: term: When checking if status line is a number, hide errors 2022-09-14 20:49:08 +02:00
test test/lib: Wait for kernel to free up ports used by iperf3 before reusing them 2022-09-22 16:54:09 +02:00
util test: Add wait_for() shell helper 2022-09-29 12:20:44 +02:00
video test: Move video processing files to $STATEBASE 2022-09-13 11:12:41 +02:00