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
Sven Nierlein
3c958ac738
check_icmp: tests do not require sudo if run by root
2013-09-15 21:57:27 +02:00
Thomas Guyot-Sionnest
6fbd14fea5
Removing CVS/SVN tags and replacing with git-based versioning
...
For contrib/, full tags have been imported from subversion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-23 05:38:47 +00:00
Thomas Guyot-Sionnest
3f93ecd171
Add tests for new check_icmp switch -m
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1638 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-11 06:51:26 +00:00
Ton Voon
0052e43b5a
Converted check_ping.t to new-style testcases. Added test case for check_icmp -
...
requires sudo access
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1637 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-11 02:27:21 +00:00