Updates to pz:authentication documentation
[pazpar2-moved-to-github.git] / test / test_icu.sh
index b96b90b..3ff2e8b 100755 (executable)
@@ -1,16 +1,11 @@
 #!/bin/sh
-# $Id: test_icu.sh,v 1.1 2007-09-10 16:25:51 adam Exp $
-#
 
+TEST=`basename $0 .sh`
 # srcdir might be set by make
 srcdir=${srcdir:-"."}
 
-if test -x ../src/pazpar2; then
-    if ../src/pazpar2 -V |grep icu: >/dev/null; then
-       exec ${srcdir}/run_pazpar2.sh test_icu
-    fi
-fi
-exit 0
+exec ${srcdir}/run_pazpar2.sh --icu $TEST
+
 # Local Variables:
 # mode:shell-script
 # sh-indentation: 2