aboutsummaryrefslogtreecommitdiff
path: root/plugins-root/t/check_dhcp.t
AgeCommit message (Collapse)Author
2021-04-30Fix check_dhcp testsGravatar Aksel Sjögren
* try to use "/usr/sbin/ip" before "ifconfig" since the latter is obsolete on Linux to figure out interface to listen for DHCP messages. But keeping ifconfig method just in case. Without this, tests fail on boxes without ifconfig AND the correct interface named ethX. * amend possible failure responses, as check_dhcp might get a DHCPOFFER, but from an unexpected address - which happens if the box running tests are on a network with a DHCP server.
2013-09-17check_dhcp: fix tests interface detectionGravatar Sven Nierlein
2013-09-16check_dhcp: fix tests for machines with default interace != eth0Gravatar Sven Nierlein
2013-09-16check_dhcp test: skip subtests if no variable is setGravatar Sven Nierlein
2013-09-15check_dhcp: add test fileGravatar Sven Nierlein