#!/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