File: v6

package info (click to toggle)
dhcpd-pools 3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,124 kB
  • sloc: ansic: 31,353; sh: 4,915; perl: 277; javascript: 74; php: 63; makefile: 50
file content (14 lines) | stat: -rwxr-xr-x 310 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# Minimal regression test suite.

IAM=$(basename $0)

if [ ! -d tests/outputs ]; then
	mkdir tests/outputs
fi

dhcpd-pools -c $top_srcdir/tests/confs/$IAM --color=never \
	    -l $top_srcdir/tests/leases/$IAM -o tests/outputs/$IAM
diff -u $top_srcdir/tests/expected/$IAM tests/outputs/$IAM
exit $?