From: Adam Dickmeiss Date: Fri, 21 Sep 2012 11:48:07 +0000 (+0200) Subject: PAZPAR2_OVERRIDE_TEST=true makes test override .res-files X-Git-Tag: v1.6.20~3^2~3 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=6ee45dde4163c36fcbf098189ef24cd0339196c9;p=pazpar2-moved-to-github.git PAZPAR2_OVERRIDE_TEST=true makes test override .res-files --- diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index fe58c6a..f62c082 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -102,7 +102,7 @@ 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 else