Fix POST test for srcdir!=. (make distcheck)
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 18 May 2010 09:01:46 +0000 (11:01 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 18 May 2010 09:01:46 +0000 (11:01 +0200)
test/run_pazpar2.sh

index 05112d7..28e81aa 100755 (executable)
@@ -104,8 +104,8 @@ for f in `cat ${srcdir}/${URLS}`; do
     elif echo $f | grep '^[0-9]' >/dev/null; then
        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