Name .diff file differently
[yaz-moved-to-github.git] / test / tsticu.sh
index bb195a3..1988355 100755 (executable)
@@ -5,7 +5,6 @@
 # Writes tsticu-[0-9].output / output.tmp files
 # Config tsticu-[0-9].xml
 
-set -x
 srcdir=${srcdir:-.}
 ecode=0
 
@@ -19,7 +18,7 @@ for f in ${srcdir}/tsticu-[0-9].input; do
     CONFIG=${srcdir}/${fb}.xml
     NEW=${fb}.output.tmp
     OLD=${srcdir}/${fb}.output
-    DIFF=`basename ${f}`.diff
+    DIFF=`basename ${fb}`.diff
     ../util/yaz-icu -c $CONFIG <$f > $NEW
     if test $? != "0"; then
        echo "$f: yaz-icu returned error"