Missing files for test_url
[pazpar2-moved-to-github.git] / test / run_pazpar2.sh
index dd56ded..fe58c6a 100755 (executable)
@@ -50,7 +50,7 @@ POST='$curl --silent --header "Content-Type: text/xml" --data-binary "@$postfile
 
 if [ -z "$SKIP_PAZPAR2" ] ; then
 # remove log if starting pazpar2
-    rm -f $PREFIX_pazpar2.log
+    rm -f ${PREFIX}_pazpar2.log
 fi
 
 CFG=${PREFIX}.cfg
@@ -104,7 +104,7 @@ for f in `cat ${srcdir}/${URLS}`; do
        fi
        if test -f $OUT1; then
            if diff $OUT1 $OUT2 >$DIFF; then
-               :
+               rm $DIFF
            else
                echo "Test $testno: Failed. See $OUT1, $OUT2 and $DIFF"
                echo "URL: $f"