Skip link test for this type of devices
Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit
2ea0a9f1a93781a0d036feb9fcc0d120b182922f)
# we dont know how to test ib links
;;
*)
- [ -z "$IFACE" ] || {
+ [ -z "$IFACE" ] ||
+ [ "$(basename $(readlink /sys/class/net/$IFACE/device/driver))" = virtio_net ] || {
ethtool $IFACE | grep -q 'Link detected: yes' || {
# On some systems, this is not successful when a
# cable is plugged but the interface has not been