From: Adam Dickmeiss Date: Wed, 16 Jun 2004 21:48:57 +0000 (+0000) Subject: Do not perform rusmarc test if iconv does not do koi8-r. X-Git-Tag: ZEBRA.1.3.16~36 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3e09835371a4b88df2a4b0ab155abb01cf285a81;p=idzebra-moved-to-github.git Do not perform rusmarc test if iconv does not do koi8-r. --- diff --git a/test/rusmarc/test1.sh b/test/rusmarc/test1.sh index 3622888..aab681c 100755 --- a/test/rusmarc/test1.sh +++ b/test/rusmarc/test1.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: test1.sh,v 1.4 2004-06-15 09:43:33 adam Exp $ +# $Id: test1.sh,v 1.5 2004-06-16 21:48:57 adam Exp $ pp=${srcdir:-"."} @@ -9,6 +9,9 @@ test -d tmp || mkdir tmp test -d lock || mkdir lock test -d register || mkdir register ../../index/zebraidx -c $pp/zebra.cfg -l$LOG init +if grep 'UTF-8 to koi8-r unsupported' $LOG >/dev/null; then + exit 0 +fi ../../index/zebraidx -c $pp/zebra.cfg -l$LOG update $pp/records/*marc ../../index/zebrasrv -c $pp/zebra.cfg -l$LOG unix:socket & sleep 1