From 6ee45dde4163c36fcbf098189ef24cd0339196c9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 21 Sep 2012 13:48:07 +0200 Subject: [PATCH] PAZPAR2_OVERRIDE_TEST=true makes test override .res-files --- test/run_pazpar2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4