Updates to pz:authentication documentation
[pazpar2-moved-to-github.git] / test / test_sru.sh
old mode 100644 (file)
new mode 100755 (executable)
index 9bc98bf..3b31704
@@ -1,25 +1,10 @@
 #!/bin/sh
 
+TEST=`basename $0 .sh`
 # srcdir might be set by make
 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_sru
-E=$?
-
-#kill `cat ztest.pid`
-#rm ztest.pid
-exit $E
+exec ${srcdir}/run_pazpar2.sh --icu --ztest $TEST
 
 # Local Variables:
 # mode:shell-script