Update headers and omit CVS Ids.
[yaz-moved-to-github.git] / test / tstcql.sh
index 526d260..7bcda25 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/sh
-# $Id: tstcql.sh,v 1.3 2004-10-01 11:43:43 adam Exp $
 srcdir=${srcdir:-.}
 oIFS="$IFS"
 IFS='
@@ -29,6 +28,7 @@ for f in `cat ${srcdir}/cqlsample`; do
                if test -f $OUT1 -a -f $ERR1; then
                        if diff $OUT1 $OUT2 >$DIFF; then
                                rm $DIFF
+                               rm $OUT2
                        else
                                echo "diff out $secno $testno $f"
                                cat $DIFF
@@ -36,6 +36,7 @@ for f in `cat ${srcdir}/cqlsample`; do
                        fi
                        if diff $ERR1 $ERR2 >$DIFF; then
                                rm $DIFF
+                               rm $ERR2
                        else
                                echo "diff err $secno $testno $f"
                                cat $DIFF