mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
Add error condition checks. Add lease file binding states. Check all output formats. Check leases file that is in mad order, cse all sorting methods when checking this. Use json output to check status classfications. Add cidr range checks. Add conf include and comment parsing input checks. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
59 lines
1.1 KiB
Text
59 lines
1.1 KiB
Text
TESTS = \
|
|
tests/alarm-count-option \
|
|
tests/alarm-critical \
|
|
tests/alarm-critical-ranges \
|
|
tests/alarm-critical-snets \
|
|
tests/alarm-ignore \
|
|
tests/alarm-ok \
|
|
tests/alarm-shared-ok \
|
|
tests/alarm-warning \
|
|
tests/alarm-warning-ranges \
|
|
tests/alarm-warning-snets \
|
|
tests/shnet-alarm \
|
|
tests/big-small \
|
|
tests/binding-states \
|
|
tests/bootp \
|
|
tests/cidr-v4 \
|
|
tests/cidr-v6 \
|
|
tests/complete \
|
|
tests/complete-perfdata \
|
|
tests/empty \
|
|
tests/errors \
|
|
tests/full-json \
|
|
tests/full-xml \
|
|
tests/formats \
|
|
tests/leading0 \
|
|
tests/one-ip \
|
|
tests/one-line \
|
|
tests/parser \
|
|
tests/range4 \
|
|
tests/range6 \
|
|
tests/same-twice \
|
|
tests/shufled \
|
|
tests/simple \
|
|
tests/skip \
|
|
tests/sorts \
|
|
tests/statuses \
|
|
tests/v6 \
|
|
tests/v6-perfdata
|
|
|
|
if ENABLE_MUSTACH
|
|
TESTS += \
|
|
tests/mustach
|
|
endif
|
|
|
|
EXTRA_DIST += \
|
|
tests/confs \
|
|
tests/expected \
|
|
tests/leases \
|
|
tests/test.sh \
|
|
$(TESTS)
|
|
|
|
TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) PATH=$(top_builddir)$(PATH_SEPARATOR)$$PATH
|
|
|
|
check-local: $(SHELL) $(top_srcdir)/tests/test.sh
|
|
|
|
clean-local-tests:
|
|
rm -rf $(top_builddir)/tests/outputs
|
|
|
|
CLEAN_LOCALS += clean-local-tests
|