mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 00:06:59 +00:00
tests: add regression test to avoid shared-net off by one alarming issue
This tests ensures the problem fixed by Wolfgang Steudel cannot reoccur.
See the reference commit for details.
Reference: 5519763ba9
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
5519763ba9
commit
0705b0c17f
5 changed files with 187 additions and 0 deletions
3
tests/expected/shnet-alarm
Normal file
3
tests/expected/shnet-alarm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
CRITICAL: dhcpd-pools: Ranges - crit: 2 warn: 0 ok: 3; | range_crit=2 range_warn=0 range_ok=3
|
||||
Shared nets - crit: 1 warn: 0 ok: 1; | snet_crit=1 snet_warn=0 snet_ok=1
|
||||
2
|
||||
Loading…
Add table
Add a link
Reference in a new issue