mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
Options -p or --perfdata (in alarming mode) now enable the output of additional performance data, i.e. used, touched and backup addresses per subnet. Signed-off-by: Manuel Hachtkemper <hacman@math.uni-bonn.de> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
16 lines
356 B
Bash
Executable file
16 lines
356 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Minimal regression test suite.
|
|
|
|
IAM=$(basename $0)
|
|
TESTDATA=${IAM%-*}
|
|
|
|
if [ ! -d tests/outputs ]; then
|
|
mkdir tests/outputs
|
|
fi
|
|
|
|
dhcpd-pools -c $top_srcdir/tests/confs/$TESTDATA \
|
|
-l $top_srcdir/tests/leases/$TESTDATA -o tests/outputs/$IAM \
|
|
--warning 80 --perfdata
|
|
diff -u $top_srcdir/tests/expected/$IAM tests/outputs/$IAM
|
|
exit $?
|