| #!/bin/sh |
| name=$1 |
| |
| . ./ipflib.sh |
| |
| test_init |
| |
| echo "$name..."; |
| /bin/cp /dev/null results/$name |
| if [ -f regress/$name.pool -a -f regress/$name.ipf ] ; then |
| ../ipftest -RD -b -P regress/$name.pool -r regress/$name.ipf -i input/$name >> \ |
| results/$name & |
| elif [ -f regress/$name.pool -a -f regress/$name.nat ] ; then |
| ../ipftest -RD -b -P regress/$name.pool -N regress/$name.nat -i input/$name >> \ |
| results/$name & |
| else |
| ../ipftest -RD -b -r regress/$name.ipf -i input/$name >> results/$name & |
| fi |
| back=$! |
| wait $back |
| test_end_leak $? |
| echo "-------------------------------" >> results/$name |
| check_results $name |
| exit $status |