mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26:59 +00:00
add xml format check
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
0d6c61d437
commit
c4e5ef6198
3 changed files with 35 additions and 0 deletions
13
tests/full-xml
Executable file
13
tests/full-xml
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Minimal regression test suite.
|
||||
|
||||
if [ ! -d tests/outputs ]; then
|
||||
mkdir tests/outputs
|
||||
fi
|
||||
|
||||
dhcpd-pools -f X -c $top_srcdir/tests/confs/same-twice \
|
||||
-l $top_srcdir/tests/leases/same-twice \
|
||||
-o tests/outputs/same-twice-xml
|
||||
diff -u $top_srcdir/tests/expected/same-twice-xml tests/outputs/same-twice-xml
|
||||
exit $?
|
||||
Loading…
Add table
Add a link
Reference in a new issue