7 if [ $output = hex ] ; then
15 while [ $# -ge 1 ] ; do
17 if [ "$l" = "-" ] ; then
20 format="-T $1 $format"
25 if [ -f /usr/ucb/touch ] ; then
28 if [ -f /usr/bin/touch ] ; then
31 if [ -f /bin/touch ] ; then
40 /bin/cp /dev/null results/$name
42 echo "$rule" | ../ipftest -R $format -b -r regress/$name.ipf -N - -i input/$name >> \
44 if [ $? -ne 0 ] ; then
47 echo "-------------------------------" >> results/$name
48 done ) < regress/$name.nat
49 cmp expected/$name results/$name
51 if [ $status = 0 ] ; then
57 /bin/cp /dev/null results/$name
58 ../ipftest -R $format -b -r regress/$name.ipf -N regress/$name.nat \
59 -i input/$name >> results/$name;
60 if [ $? -ne 0 ] ; then
63 echo "-------------------------------" >> results/$name
64 cmp expected/$name results/$name
66 if [ $status = 0 ] ; then