mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26: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>
13 lines
305 B
Bash
Executable file
13 lines
305 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Minimal regression test suite.
|
|
|
|
if [ ! -d outputs ]; then
|
|
mkdir outputs
|
|
fi
|
|
|
|
dhcpd-pools -f J -c $top_srcdir/tests/confs/same-twice \
|
|
-l $top_srcdir/tests/leases/same-twice \
|
|
-o outputs/same-twice-json
|
|
diff -u $top_srcdir/tests/expected/same-twice-json outputs/same-twice-json
|
|
exit $?
|