Skip to content

Commit

Permalink
fix(test): adapt multinic test for new NetworkManager versions
Browse files Browse the repository at this point in the history
Since version 1.42, NetworkManager creates a "external" connection for the
loopback interface. Ignore that connection in the multinic test.
  • Loading branch information
bengal authored and aafeijoo-suse committed Feb 7, 2023
1 parent 70aeb4c commit d3993c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/TEST-50-MULTINIC/client-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ for i in /sys/class/net/*; do
state=/run/NetworkManager/devices/$(cat "$i"/ifindex)
grep -q connection-uuid= "$state" 2> /dev/null || continue
i=${i##*/}
[ "$i" = lo ] && continue
ip link show "$i" | grep -q master && continue
IFACES="${IFACES}${i} "
done
Expand Down

0 comments on commit d3993c7

Please sign in to comment.