From: Adam Dickmeiss Date: Thu, 18 Jan 2007 11:44:50 +0000 (+0000) Subject: Fix test of xmllint precense X-Git-Tag: YAZ.2.1.48~13 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=6e2be464f5440ef47e6c6228ad91062d961b75b2;p=yaz-moved-to-github.git Fix test of xmllint precense --- diff --git a/test/tstmarciso.sh b/test/tstmarciso.sh index e4d56ea..77d41a9 100755 --- a/test/tstmarciso.sh +++ b/test/tstmarciso.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: tstmarciso.sh,v 1.4 2006-12-15 19:28:47 adam Exp $ +# $Id: tstmarciso.sh,v 1.5 2007-01-18 11:44:50 adam Exp $ # Tests reading of ISO2709 and checks that we get identical MARCXML # # Reads marc?.marc files , Generates marc?.xml files @@ -25,7 +25,7 @@ for f in ${srcdir}/marc?.marc; do fi else echo "$f: Making test result $OLD for the first time" - if test -i marcxml /usr/bin/xmllint; then + if test -x /usr/bin/xmllint; then if xmllint --noout $NEW >out 2>stderr; then echo "$f: $NEW is well-formed" mv $NEW $OLD