remove new result if same
authorDennis Schafroth <dennis@indexdata.com>
Mon, 8 Oct 2012 20:32:58 +0000 (22:32 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Mon, 8 Oct 2012 20:32:58 +0000 (22:32 +0200)
test/run_pazpar2.sh

index f62c082..b18e0a5 100755 (executable)
@@ -105,6 +105,7 @@ for f in `cat ${srcdir}/${URLS}`; do
        if test -f $OUT1 -a -z "$PAZPAR2_OVERRIDE_TEST"; then
            if diff $OUT1 $OUT2 >$DIFF; then
                rm $DIFF
+               rm $OUT2
            else
                echo "Test $testno: Failed. See $OUT1, $OUT2 and $DIFF"
                echo "URL: $f"