dhcpd-pools/tests/full-json
Sami Kerola 30238e9d1c build-sys: use non-recursive build
For reasons see excellent paper 'Recursive Make Considered Harmful' by
Peter Miller.

References: http://miller.emu.id.au/pmiller/books/rmch/
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-04-24 22:46:04 +01:00

13 lines
329 B
Bash
Executable file

#!/bin/sh
#
# Minimal regression test suite.
if [ ! -d tests/outputs ]; then
mkdir tests/outputs
fi
dhcpd-pools -f J -c $top_srcdir/tests/confs/same-twice \
-l $top_srcdir/tests/leases/same-twice \
-o tests/outputs/same-twice-json
diff -u $top_srcdir/tests/expected/same-twice-json tests/outputs/same-twice-json
exit $?