tests: add basic tests

The tests can be ran using 'make check'.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-11-29 19:58:38 +00:00
parent 6684772550
commit 71bcee14e9
17 changed files with 134 additions and 1 deletions

16
tests/Makefile.am Normal file
View file

@ -0,0 +1,16 @@
EXTRA_DIST = \
bootp \
confs \
expected \
leading0 \
leases \
simple \
test.sh
TESTS = simple bootp leading0
check_SCRIPTS = test.sh
check-local: $(SHELL) $(top_srcdir)/tests/test.sh
clean-local:
rm -rf $(top_builddir)/tests/outputs