mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
tests: check how command works with invalid input
Lack of this check resulted to bug that was shipped to users, which was
fixed in commit 805d353.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
805d353584
commit
1a7649beb3
5 changed files with 11 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
TESTS = \
|
||||
bootp \
|
||||
complete \
|
||||
empty \
|
||||
full-json \
|
||||
leading0 \
|
||||
same-twice \
|
||||
|
|
|
|||
0
tests/confs/empty
Normal file
0
tests/confs/empty
Normal file
1
tests/empty
Symbolic link
1
tests/empty
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
test.sh
|
||||
9
tests/expected/empty
Normal file
9
tests/expected/empty
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Ranges:
|
||||
shared net name first ip last ip max cur percent touch t+c t+c perc
|
||||
|
||||
Shared networks:
|
||||
name max cur percent touch t+c t+c perc
|
||||
|
||||
Sum of all ranges:
|
||||
name max cur percent touch t+c t+c perc
|
||||
All networks 0 0 -nan 0 0 -nan
|
||||
0
tests/leases/empty
Normal file
0
tests/leases/empty
Normal file
Loading…
Add table
Add a link
Reference in a new issue