Pazpar2 1.4.4-2 for squeeze
[pazpar2-moved-to-github.git] / test / run_pazpar2.sh
index 28e81aa..a0bc9a0 100755 (executable)
@@ -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,6 +105,9 @@ 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 $srcdir/$f; then