Commit graph

9 commits

Author SHA1 Message Date
Lorenz Kästle
9f776105d4 Reapply "check_dhcp: reduce number of tests for weird reasons"
This reverts commit 612d261cbf.
2025-06-23 13:21:25 +02:00
Lorenz Kästle
612d261cbf Revert "check_dhcp: reduce number of tests for weird reasons"
This reverts commit 52338c3423.
2025-06-23 13:02:52 +02:00
Lorenz Kästle
52338c3423 check_dhcp: reduce number of tests for weird reasons 2025-06-23 12:33:28 +02:00
Lorenz Kästle
bf0b389381 Adapt tests 2025-06-23 12:09:58 +02:00
Aksel Sjögren
39c162e594
Fix check_dhcp tests
* 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.
2021-04-30 11:14:10 +02:00
Sven Nierlein
08d554ada1 check_dhcp: fix tests interface detection 2013-09-17 13:13:26 +02:00
Sven Nierlein
2b23caf3d1 check_dhcp: fix tests for machines with default interace != eth0 2013-09-16 13:49:44 +02:00
Sven Nierlein
095e2e5db5 check_dhcp test: skip subtests if no variable is set 2013-09-16 08:51:04 +02:00
Sven Nierlein
5d58592cfe check_dhcp: add test file 2013-09-15 22:15:21 +02:00