Debian Codegraph @

tests/parser

raw symbols SCIP
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 catscip-shell system . . cat. <<EOF >"./${IAM}-conf"
11 #shared-network "example3 " {
12 # subnet 10.0.6.0 netmask 255.255.255.0 {
13 # pool {
14 # range 10.0.6.1 10.0.6.20;
15 # }
16 # }
17 # subnet 10.1.7.0 netmask 255.255.255.0 {
18 # pool {
19 # range 10.1.7.1 10.1.7.20;
20 # }
21 # }
22 #}
23
24 include "tests/confs/complete";
25 EOF
26 dhcpd-pools -c "./${IAM}-conf" --color=never \
27 -l $top_srcdir/tests/leases/$IAM -o tests/outputs/$IAM
28 diffscip-shell system . . diff. -u $top_srcdir/tests/expected/$IAM tests/outputs/$IAM
29 rmscip-shell system . . rm. -f "./${IAM}-conf"
30 exit $?