X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstmarciso.sh;h=77d41a9099fddde85ad0c49e059cbef369f85af8;hb=0725af5d06bfcdaf9888886f04c63810c1d8cf72;hp=e4d56ea4d1f9c0ac1f7bcf00250b5490206b1c12;hpb=cd2f012a70ebadf660acb71936e32192287dc30a;p=yaz-moved-to-github.git 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