diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-07-25 16:50:42 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-07-25 12:39:00 +0200 |
commit | e9a542321fc1f455b8627e03806936abb5663154 (patch) | |
tree | 0a5c60ae6c3912690baa7a61d4e646e963a640e2 /test/lib | |
parent | becf81ab888aeb8fd682b572576f257ab9e9e96f (diff) | |
download | passt-e9a542321fc1f455b8627e03806936abb5663154.tar passt-e9a542321fc1f455b8627e03806936abb5663154.tar.gz passt-e9a542321fc1f455b8627e03806936abb5663154.tar.bz2 passt-e9a542321fc1f455b8627e03806936abb5663154.tar.lz passt-e9a542321fc1f455b8627e03806936abb5663154.tar.xz passt-e9a542321fc1f455b8627e03806936abb5663154.tar.zst passt-e9a542321fc1f455b8627e03806936abb5663154.zip |
test: Fix spurious test failure with systemd-resolved
systemd-resolved has the rather strange behaviour of listening on the
non-standard loopback address 127.0.0.53. Various changes we've made in
passt mean that we now usually work fine on a host using systemd-resolved.
However our tests still fail in this case. We have a special case for when
the guest's resolv.conf needs to differ from the host's because the
resolver is on a host loopback address. However, we only consider the case
where the host resolver is on 127.0.0.1, not other loopback addresses.
Correct this with a different test condition.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions