| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # |
| 3 | # Minimal regression test suite. |
| 4 | |
| 5 | IAM=$(basenamescip-shell system . . basename. $0) |
| 6 | TESTDATA=${IAM%-*} |
| 7 | |
| 8 | if [scip-shell system . . `[`. ! -d tests/outputs ]; then |
| 9 | mkdirscip-shell system . . mkdir. tests/outputs |
| 10 | fi |
| 11 | |
| 12 | dhcpd-pools -c $top_srcdir/tests/confs/$TESTDATA \ |
| 13 | -l $top_srcdir/tests/leases/$TESTDATA -o tests/outputs/$IAM \ |
| 14 | --warning 80 --perfdata |
| 15 | diffscip-shell system . . diff. -u $top_srcdir/tests/expected/$IAM tests/outputs/$IAM |
| 16 | exit $? |