projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing files for tests (make check)
[pazpar2-moved-to-github.git]
/
test
/
run_pazpar2.sh
diff --git
a/test/run_pazpar2.sh
b/test/run_pazpar2.sh
index
05112d7
..
0dadcb1
100755
(executable)
--- 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
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
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
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
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
else
echo "File $f does not exist"
code=1