X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=test%2Frun_pazpar2.sh;h=b18e0a52ac2f63d964e4c719c1c6c4349c5a2ca9;hb=2fe342540fa6a4e674a7e86d7b11651557cfbcc9;hp=ff03af6114d148590740b3f3fd367dbf017c67ed;hpb=42471f8940d33b0ffb1de1ed6afa602384f9d100;p=pazpar2-moved-to-github.git diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index ff03af6..b18e0a5 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -102,9 +102,10 @@ for f in `cat ${srcdir}/${URLS}`; do if test ! -f $OUT2; then touch $OUT2 fi - if test -f $OUT1; then + 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" @@ -152,9 +153,6 @@ if [ -z "$SKIP_PAZPAR2" ] ; then sleep 2 fi -# clean out empty diff files -find . -name "$TEST*.dif" -size 0c -print|xargs rm - exit $code # Local Variables: