Clean up test scripts
[pazpar2-moved-to-github.git] / test / test_sort.sh
index 2ed0501..3ff2e8b 100755 (executable)
@@ -1,22 +1,10 @@
 #!/bin/sh
 
+TEST=`basename $0 .sh`
 # srcdir might be set by make
 srcdir=${srcdir:-"."}
 
-TEST=`basename $0 .sh`
-
-# Using test solr target opencontent-solr
-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
-
-#kill `cat ztest.pid`
-#rm ztest.pid
-exit $E
+exec ${srcdir}/run_pazpar2.sh --icu $TEST
 
 # Local Variables:
 # mode:shell-script