X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Frun_pazpar2.sh;h=a0bc9a0eb11682607f963c9102e64b075d39cac7;hb=refs%2Fheads%2Fbranch-1.4.4;hp=05112d76af532b51cf084093095d5184298ac770;hpb=b4686a17d93e317f44073fba189e48c29cffbe44;p=pazpar2-moved-to-github.git diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index 05112d7..a0bc9a0 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -47,7 +47,7 @@ if test -n "$PAZPAR2_USE_VALGRIND"; then elif test -n "$SKIP_PAZPAR2"; then echo "Skipping pazpar2. Must already be running with correct config!!! " else - YAZ_LOG=zoom,zoomdetails,debug,log,fatal ../src/pazpar2 -d -X -l pazpar2.log -f ${srcdir}/${CFG} >extra_pazpar2.log 2>&1 & + YAZ_LOG=zoom,zoomdetails,debug,log,fatal ../src/pazpar2 -v all -d -X -l pazpar2.log -f ${srcdir}/${CFG} >extra_pazpar2.log 2>&1 & fi @@ -78,6 +78,9 @@ for f in `cat ${srcdir}/${URLS}`; do OUT2=${PREFIX}_${testno}.log DIFF=${PREFIX}_${testno}.dif rm -f $OUT2 $DIFF + if [ -n "$DEBUG" ] ; then + echo "test $testno: $f" + fi if test -n "${postfile}"; then eval $POST else @@ -102,10 +105,13 @@ for f in `cat ${srcdir}/${URLS}`; do testno=`expr $testno + 1` postfile= elif echo $f | grep '^[0-9]' >/dev/null; then + if [ -n "$DEBUG" ] ; then + echo "Sleeping $f" + fi sleep $f else - if test -f $f; then - postfile=$f + if test -f $srcdir/$f; then + postfile=$srcdir/$f else echo "File $f does not exist" code=1