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