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
New internal Deb package: osrting by year
[pazpar2-moved-to-github.git]
/
test
/
test_http.sh
diff --git
a/test/test_http.sh
b/test/test_http.sh
index
7d052ce
..
6406622
100755
(executable)
--- a/
test/test_http.sh
+++ b/
test/test_http.sh
@@
-1,5
+1,5
@@
#!/bin/sh
#!/bin/sh
-# $Id: test_http.sh,v 1.6 2007-05-16 13:07:18 adam Exp $
+# $Id: test_http.sh,v 1.8 2007-07-18 13:39:11 adam Exp $
#
# Regression test using pazpar2 against z3950.indexdata.com/marc
# Reads Pazpar2 URLs from test_http_urls
#
# Regression test using pazpar2 against z3950.indexdata.com/marc
# Reads Pazpar2 URLs from test_http_urls
@@
-20,9
+20,12
@@
if test -x /usr/bin/lynx; then
lynx=/usr/bin/lynx
fi
lynx=/usr/bin/lynx
fi
+rm -f marc21.xsl
+ln -s ${srcdir}/../etc/marc21.xsl
+
# Fire up pazpar2
rm -f pazpar2.log
# Fire up pazpar2
rm -f pazpar2.log
-../src/pazpar2 -l pazpar2.log -f ${srcdir}/test_http.cfg -t ${srcdir}/test_http.xml >extra_pazpar2.log 2>&1 &
+../src/pazpar2 -X -l pazpar2.log -f ${srcdir}/test_http.cfg -t ${srcdir}/test_http.xml >extra_pazpar2.log 2>&1 &
PP2PID=$!
# Give it a chance to start properly..
PP2PID=$!
# Give it a chance to start properly..
@@
-75,6
+78,11
@@
for f in `cat ${srcdir}/test_http_urls`; do
else
sleep $f
fi
else
sleep $f
fi
+ if ps -p $PP2PID >/dev/null 2>&1; then
+ :
+ else
+ echo "pazpar2 died"
+ fi
done
IFS="$oIFS"
done
IFS="$oIFS"