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
Fix problem with first-time test and testno=1
[pazpar2-moved-to-github.git]
/
test
/
test_preferred.sh
diff --git
a/test/test_preferred.sh
b/test/test_preferred.sh
index
3a2eb98
..
493cdc3
100755
(executable)
--- a/
test/test_preferred.sh
+++ b/
test/test_preferred.sh
@@
-5,15
+5,6
@@
TEST=`basename $0 .sh`
srcdir=${srcdir:-"."}
#TODO set up solr target. For now use donut
srcdir=${srcdir:-"."}
#TODO set up solr target. For now use donut
-#F=../solr/client.sh
-#
-#rm -f solr.pid
-#$F -l solr.log -p ztest.pid -D @:9999
-#sleep 1
-#if test ! -f ztest.pid; then
-# echo "yaz-ztest could not be started"
-# exit 0
-#fi
${srcdir}/run_pazpar2.sh $TEST
E=$?
${srcdir}/run_pazpar2.sh $TEST
E=$?
@@
-32,8
+23,6
@@
else
mv test_preferred.log test_preferred.res
fi
mv test_preferred.log test_preferred.res
fi
-#kill `cat ztest.pid`
-#rm ztest.pid
exit $E
# Local Variables:
exit $E
# Local Variables: