From 6e2be464f5440ef47e6c6228ad91062d961b75b2 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 18 Jan 2007 11:44:50 +0000 Subject: [PATCH] Fix test of xmllint precense --- test/tstmarciso.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4