1
0
mirror of https://passt.top/passt synced 2024-06-21 02:27:05 +00:00
passt/test/distro
David Gibson 6703da44c1 tests: Use more explicit netcat options for distro/fedora tests
distro/fedora contains two versions of the basic tests, used for different
Fedora versions.  One uses explicit listening address for netcat in some
extra places, the other does not.  Apparently the older netcat versions
didn't require the explicit addresses.  Not supplying addresses doesn't
test anything useful though, just a detail in netcat's behaviour.  So,
it's cleaner to just always supply explicit addresses.

In addition, we're explicitly expecting the nmap version of ncat, also
known as "ncat".  So, it's more explicit what we're after if we invoke it
via that name rather than "nc", which will go via an /etc/alternatives
link.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[sbrivio: Fix port argument in distro_quick_pasta_test{,_fedora34} too]
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2022-06-15 09:37:03 +02:00
..
debian tests: Simplify explicit checks for command success 2022-05-19 15:24:15 +02:00
fedora tests: Use more explicit netcat options for distro/fedora tests 2022-06-15 09:37:03 +02:00
opensuse tests: Simplify explicit checks for command success 2022-05-19 15:24:15 +02:00
ubuntu tests: Simplify explicit checks for command success 2022-05-19 15:24:15 +02:00