9 for f in `cat cqlsample`; do
10 if echo $f | grep '^#' >/dev/null; then
13 if test "$comment" = "1"; then
14 secno=`expr $secno + 1`
18 testno=`expr $testno + 1`
19 OUT1=cql/$secno.$testno.out
20 ERR1=cql/$secno.$testno.err
21 OUT2=cql/$secno.$testno.out.tmp
22 ERR2=cql/$secno.$testno.err.tmp
23 DIFF=cql/$secno.$testno.diff
24 ../util/cql2xcql "$f" >$OUT2 2>$ERR2
25 if test -f $OUT1 -a -f $ERR1; then
26 if diff $OUT1 $OUT2 >$DIFF; then
29 echo "diff out $secno $testno $f"
33 if diff $ERR1 $ERR2 >$DIFF; then
36 echo "diff err $secno $testno $f"
41 echo "making test $secno $testno $f"