summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhartwork <hartwork>2008-08-03 18:19:12 +0000
committerhartwork <hartwork>2008-08-03 18:19:12 +0000
commit3b8b0df42355f3918c6279920ebb5d39735514c8 (patch)
tree9373efcec20a018fefa3ccbb16cb68079034653b
parent3a306751a3b7949354e7f35b4429ba2fc5e6b15d (diff)
downloadlibexpat-3b8b0df42355f3918c6279920ebb5d39735514c8.tar.gz
- 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
-rwxr-xr-xtests/xmltest.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/xmltest.sh b/tests/xmltest.sh
index 725441e..793a5cc 100755
--- a/tests/xmltest.sh
+++ b/tests/xmltest.sh
@@ -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 @@ RunXmlwfNotWF() {
$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 @@ RunXmlwfWF() {
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 @@ rm outfile
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 \