mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
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>
14 lines
296 B
Bash
Executable file
14 lines
296 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Minimal regression test suite.
|
|
|
|
IAM=$(basename $0)
|
|
|
|
if [ ! -d tests/outputs ]; then
|
|
mkdir tests/outputs
|
|
fi
|
|
|
|
dhcpd-pools -c $top_srcdir/tests/confs/$IAM \
|
|
-l $top_srcdir/tests/leases/$IAM -o tests/outputs/$IAM
|
|
diff -u $top_srcdir/tests/expected/$IAM tests/outputs/$IAM
|
|
exit $?
|