Updates to pz:authentication documentation
[pazpar2-moved-to-github.git] / test / test_solr.sh
index b6c74e2..8b08bb3 100755 (executable)
@@ -1,29 +1,11 @@
 #!/bin/sh
+#
 
+TEST=`basename $0 .sh`
 # srcdir might be set by make
 srcdir=${srcdir:-"."}
 
-TEST=`basename $0 .sh`
-
-#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
-
-E=0
-if test -x ../src/pazpar2; then
-    if ../src/pazpar2 -V |grep icu:enabled >/dev/null; then
-       ${srcdir}/run_pazpar2.sh $TEST
-       E=$?
-    fi
-fi
-exit $E
+exec ${srcdir}/run_pazpar2.sh --icu $TEST
 
 # Local Variables:
 # mode:shell-script