summaryrefslogtreecommitdiffstats
path: root/plugins-root/t/check_dhcp.t
AgeCommit message (Collapse)AuthorFilesLines
2021-04-30Fix check_dhcp testsAksel Sjögren1-2/+7
* 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 detectionSven Nierlein1-1/+1
2013-09-16check_dhcp: fix tests for machines with default interace != eth0Sven Nierlein1-5/+10
2013-09-16check_dhcp test: skip subtests if no variable is setSven Nierlein1-20/+35
2013-09-15check_dhcp: add test fileSven Nierlein1-0/+49