X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Frun_pazpar2.sh;h=0dadcb188b6809805a85cc47ce55abbc55a2a713;hb=2b8f49f44fb4b519dff790be5fc7f0856cbf5b35;hp=05112d76af532b51cf084093095d5184298ac770;hpb=4c874d96cd177ace4b7ff8077c58647b123d95fc;p=pazpar2-moved-to-github.git diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index 05112d7..0dadcb1 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -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