| 1 | #!/bin/sh |
| 2 | # |
| 3 | # Minimal regression test suite. |
| 4 | |
| 5 | if [ ! -d tests/outputs ]; then |
| 6 | mkdir tests/outputs |
| 7 | fi |
| 8 | |
| 9 | dhcpd-pools -f J -c $top_srcdir/tests/confs/same-twice \ |
| 10 | -l $top_srcdir/tests/leases/same-twice | |
| 11 | sed '/"version":"/d; /"conf_file_.*":/d; /"lease_file_.*":/d' \ |
| 12 | >| tests/outputs/same-twice-json |
| 13 | diff -u $top_srcdir/tests/expected/same-twice-json tests/outputs/same-twice-json |
| 14 | exit $? |