diff --git a/tests/Makemodule.am b/tests/Makemodule.am index b4c0a94..12d6907 100644 --- a/tests/Makemodule.am +++ b/tests/Makemodule.am @@ -10,6 +10,7 @@ TESTS = \ tests/alarm-warning-ranges \ tests/alarm-warning-snets \ tests/shnet-alarm \ + tests/big-small \ tests/bootp \ tests/complete \ tests/empty \ diff --git a/tests/big-small b/tests/big-small new file mode 120000 index 0000000..61a58b0 --- /dev/null +++ b/tests/big-small @@ -0,0 +1 @@ +test.sh \ No newline at end of file diff --git a/tests/confs/big-small b/tests/confs/big-small new file mode 100644 index 0000000..7cc8997 --- /dev/null +++ b/tests/confs/big-small @@ -0,0 +1,5 @@ +subnet 10.0.0.0 netmask 255.255.255.0 { + pool { + range 10.0.0.10 10.0.0.1; + } +} diff --git a/tests/expected/big-small b/tests/expected/big-small new file mode 100644 index 0000000..da14b05 --- /dev/null +++ b/tests/expected/big-small @@ -0,0 +1,10 @@ +Ranges: +shared net name first ip last ip max cur percent touch t+c t+c perc +All networks 10.0.0.1 - 10.0.0.10 10 10 100.000 0 10 100.000 + +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 10 10 100.000 0 10 100.000 diff --git a/tests/leases/big-small b/tests/leases/big-small new file mode 120000 index 0000000..8fd3246 --- /dev/null +++ b/tests/leases/big-small @@ -0,0 +1 @@ +simple \ No newline at end of file