[Expat-checkins] expat/tests xmltest.sh,1.4,1.5

Sebastian Pipping hartwork at users.sourceforge.net
Sun Aug 3 20:19:15 CEST 2008


Update of /cvsroot/expat/expat/tests
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv7999

Modified Files:
	xmltest.sh 
Log Message:
- Move diff to unified
- Hint about variable modification inside script (not through environment)
- Integrate forgotten case ibm/not-wf/p28a (only case with lower p)
- Tell we expected not well-formed when we do instead of the opposite

Index: xmltest.sh
===================================================================
RCS file: /cvsroot/expat/expat/tests/xmltest.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- xmltest.sh	30 Sep 2004 02:34:48 -0000	1.4
+++ xmltest.sh	3 Aug 2008 18:19:12 -0000	1.5
@@ -6,7 +6,7 @@
 # w3c.org xml test suite, available from
 # http://www.w3.org/XML/Test/xmlts20020606.zip.
 
-# To run this script, first set XMLWF so that xmlwf can be
+# To run this script, first set XMLWF below so that xmlwf can be
 # found, then set the output directory with OUTPUT.
 
 # The script lists all test cases where Expat shows a discrepancy
@@ -39,7 +39,7 @@
   $XMLWF -p "$file" > outfile || return $?
   read outdata < outfile
   if test "$outdata" = "" ; then
-      echo "Expected well-formed: $reldir$file"
+      echo "Expected not well-formed: $reldir$file"
       return 1
   else
       return 0
@@ -55,7 +55,7 @@
   read outdata < outfile 
   if test "$outdata" = "" ; then 
       if [ -f "out/$file" ] ; then 
-          diff "$OUTPUT$reldir$file" "out/$file" > outfile 
+          diff -u "$OUTPUT$reldir$file" "out/$file" > outfile 
           if [ -s outfile ] ; then 
               cp outfile "$OUTPUT$reldir$file.diff"
               echo "Output differs: $reldir$file"
@@ -117,6 +117,7 @@
 
 cd "$TS/xmlconf"
 for xmldir in ibm/not-wf/P* \
+              ibm/not-wf/p28a \
               ibm/not-wf/misc \
               xmltest/not-wf/ext-sa \
               xmltest/not-wf/not-sa \



More information about the Expat-checkins mailing list