diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-02 12:04:32 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-07 11:01:22 +0200 |
commit | 5c13b511d9e97ae24cfa7bb87a1e23648c8d8249 (patch) | |
tree | f75b5548081a6158796b6e045fdfab7c37137272 /util.c | |
parent | 55679a16af441344eacc95ae8d5e952aae2313b0 (diff) | |
download | passt-5c13b511d9e97ae24cfa7bb87a1e23648c8d8249.tar passt-5c13b511d9e97ae24cfa7bb87a1e23648c8d8249.tar.gz passt-5c13b511d9e97ae24cfa7bb87a1e23648c8d8249.tar.bz2 passt-5c13b511d9e97ae24cfa7bb87a1e23648c8d8249.tar.lz passt-5c13b511d9e97ae24cfa7bb87a1e23648c8d8249.tar.xz passt-5c13b511d9e97ae24cfa7bb87a1e23648c8d8249.tar.zst passt-5c13b511d9e97ae24cfa7bb87a1e23648c8d8249.zip |
test: Combine iperf3c and iperf3s into a single DSL command
These two commands in the DSL to run an iperf client and server are always
used together, and some of the parameters must match between them. The
iperf3s must also be run more or less immediately after iperf3c, since
iperf3c will run a client in the background after a sleep and requires a
server to be running before it will work.
A bunch of things can be made cleaner if we make a single DSL command that
runs both sides of the test. For now make the combined command work
exactly like the two commands together did, warts and all.
This does lose the ability for the DSL scripts to give additional options
to the iperf3 server, but we weren't using that anyway.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions