mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 08:16:59 +00:00
It is best to make dhcpd-pools used from PATH, which makes out of tree build check to work. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 lines
272 B
Bash
Executable file
14 lines
272 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Minimal regression test suite.
|
|
|
|
IAM=$(basename $0)
|
|
|
|
if [ ! -d outputs ]; then
|
|
mkdir outputs
|
|
fi
|
|
|
|
dhcpd-pools -c $top_srcdir/tests/confs/$IAM \
|
|
-l $top_srcdir/tests/leases/$IAM -o outputs/$IAM
|
|
diff -u $top_srcdir/tests/expected/$IAM outputs/$IAM
|
|
exit $?
|