diff options
author | Daniel Richard <oss@teragram.com> | 2012-09-07 16:11:07 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-09-07 16:11:07 +0800 |
commit | 343ef27424c708619c7089aca42c67576b62d360 (patch) | |
tree | f39cd8b2e5a5302636e7802749762a499beb9268 | |
parent | 0ae3194eb58d954d0896ef05e3dacf76350a8bc2 (diff) | |
download | libxslt-343ef27424c708619c7089aca42c67576b62d360.tar.gz libxslt-343ef27424c708619c7089aca42c67576b62d360.tar.bz2 libxslt-343ef27424c708619c7089aca42c67576b62d360.zip |
Cleanups some of the test makefiles
* Added missing $(srcdir)/ qualification to some "[ -s ... ]"
stderr-output reference file checks
* When printing log output for failed tests, quote the log variable, so
that diff output is formatted the way it should be (with newlines!)
and
is not all collapsed into one line
* Updated tests/REC/test-7.1.1-3.out with current output to get rid of a
spurious test failure
-rw-r--r-- | tests/REC/Makefile.am | 16 | ||||
-rw-r--r-- | tests/REC/test-7.1.1-3.out | 2 | ||||
-rw-r--r-- | tests/XSLTMark/Makefile.am | 80 | ||||
-rw-r--r-- | tests/docbook/Makefile.am | 8 | ||||
-rw-r--r-- | tests/exslt/common/Makefile.am | 2 | ||||
-rw-r--r-- | tests/exslt/date/Makefile.am | 2 | ||||
-rw-r--r-- | tests/exslt/dynamic/Makefile.am | 2 | ||||
-rw-r--r-- | tests/exslt/functions/Makefile.am | 2 | ||||
-rw-r--r-- | tests/exslt/math/Makefile.am | 2 | ||||
-rw-r--r-- | tests/exslt/sets/Makefile.am | 2 | ||||
-rw-r--r-- | tests/exslt/strings/Makefile.am | 2 | ||||
-rw-r--r-- | tests/extensions/Makefile.am | 2 | ||||
-rw-r--r-- | tests/general/Makefile.am | 4 | ||||
-rw-r--r-- | tests/namespaces/Makefile.am | 2 | ||||
-rw-r--r-- | tests/reports/Makefile.am | 2 | ||||
-rw-r--r-- | tests/xmlspec/Makefile.am | 4 |
16 files changed, 67 insertions, 67 deletions
diff --git a/tests/REC/Makefile.am b/tests/REC/Makefile.am index 6f89310c..49f09f08 100644 --- a/tests/REC/Makefile.am +++ b/tests/REC/Makefile.am @@ -107,7 +107,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc echo "Fatal error, no $$name.res\n" ; \ else \ diff $(srcdir)/$$name.out $$name.res ; \ - if [ -s $$name.err ] ; then \ + if [ -s $(srcdir)/$$name.err ] ; then \ diff $(srcdir)/$$name.err $$name.bad ; \ else \ diff /dev/null $$name.bad ; \ @@ -118,7 +118,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep -v "MEMORY ALLOCATED : 0" || true` ; \ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad ; \ done) @@ -136,7 +136,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc echo "Fatal error, no $$name.res\n" ; \ else \ diff $(srcdir)/$$name.stand.out $$name.res ; \ - if [ -s $$name.stand.err ] ; then \ + if [ -s $(srcdir)/$$name.stand.err ] ; then \ diff $(srcdir)/$$name.stand.err $$name.bad ; \ else \ diff /dev/null $$name.bad; \ @@ -146,7 +146,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad ; \ done) @@ -169,7 +169,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc echo "Fatal error, no $$name.res\n" ; \ else \ diff $(srcdir)/$$name.out $$name.res ; \ - if [ -s $$name.err ] ; then \ + if [ -s $(srcdir)/$$name.err ] ; then \ diff $(srcdir)/$$name.err $$name.bad ; \ else \ diff /dev/null $$name.bad ; \ @@ -180,7 +180,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep -v "MEMORY ALLOCATED : 0" || true` ; \ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad ; \ done) @@ -198,7 +198,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc echo "Fatal error, no $$name.res\n" ; \ else \ diff $(srcdir)/$$name.stand.out $$name.res ; \ - if [ -s $$name.stand.err ] ; then \ + if [ -s $(srcdir)/$$name.stand.err ] ; then \ diff $(srcdir)/$$name.stand.err $$name.bad ; \ else \ diff /dev/null $$name.bad; \ @@ -208,7 +208,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad ; \ done) diff --git a/tests/REC/test-7.1.1-3.out b/tests/REC/test-7.1.1-3.out index 29c31b70..00c6f297 100644 --- a/tests/REC/test-7.1.1-3.out +++ b/tests/REC/test-7.1.1-3.out @@ -1,2 +1,2 @@ <?xml version="1.0"?> -<out>SUCCESS</out> +<out xmlns:doc="http://example.org/doc">SUCCESS</out> diff --git a/tests/XSLTMark/Makefile.am b/tests/XSLTMark/Makefile.am index eb64cb4b..b4642a14 100644 --- a/tests/XSLTMark/Makefile.am +++ b/tests/XSLTMark/Makefile.am @@ -93,7 +93,7 @@ alphabetize: db100.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -109,7 +109,7 @@ avts: db100.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -125,7 +125,7 @@ creation: db100.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -141,7 +141,7 @@ dbonerow: db10000.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -157,7 +157,7 @@ dbtail: db100.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -173,7 +173,7 @@ decoy: db100.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -189,7 +189,7 @@ encrypt: db100.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -205,7 +205,7 @@ functions: db100.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -221,7 +221,7 @@ identity: db1000.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -237,7 +237,7 @@ patterns: db100.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -253,7 +253,7 @@ prettyprint: db100.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -269,7 +269,7 @@ stringsort: db1000.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp else @@ -301,7 +301,7 @@ attsets: chart.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -317,7 +317,7 @@ axis: axis.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -333,7 +333,7 @@ backwards: game.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -349,7 +349,7 @@ bottles: bottles.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -365,7 +365,7 @@ brutal: brutal.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -381,7 +381,7 @@ chart: chart.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -397,7 +397,7 @@ current: current.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -413,7 +413,7 @@ game: game.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -429,7 +429,7 @@ html: html.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -445,7 +445,7 @@ inventory: inventory.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -461,7 +461,7 @@ metric: metric.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -477,7 +477,7 @@ number: number.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -493,7 +493,7 @@ oddtemplate: oddtemplate.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -509,7 +509,7 @@ priority: priority.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -525,7 +525,7 @@ products: products.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -541,7 +541,7 @@ queens: queens.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -557,7 +557,7 @@ reverser: gettysburg.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -573,7 +573,7 @@ summarize: queens.xsl $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -589,7 +589,7 @@ total: chart.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -605,7 +605,7 @@ tower: tower.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -621,7 +621,7 @@ trend: trend.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -637,7 +637,7 @@ union: union.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -653,7 +653,7 @@ xpath: xpath.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -669,7 +669,7 @@ xslbench1: xslbench1.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -685,7 +685,7 @@ xslbench2: xslbenchdream.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -701,7 +701,7 @@ xslbench3: xslbenchdream.xml $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -718,7 +718,7 @@ breadth: $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp @@ -735,7 +735,7 @@ depth: $(xsltproc) grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo $@ result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f $@.tmp diff --git a/tests/docbook/Makefile.am b/tests/docbook/Makefile.am index 1c0e48bc..8dd336a9 100644 --- a/tests/docbook/Makefile.am +++ b/tests/docbook/Makefile.am @@ -44,7 +44,7 @@ single: if [ -n "$$log" ] ; then \ echo ; \ echo result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$out ; \ echo -n "fo " ; \ @@ -65,7 +65,7 @@ single: if [ -n "$$log" ] ; then \ echo ; \ echo result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$out $$msg ; \ echo -n "xhtml " ; \ @@ -85,7 +85,7 @@ single: if [ -n "$$log" ] ; then \ echo ; \ echo result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$out ; \ done ) @@ -123,7 +123,7 @@ xtchunk: if [ -n "$$log" ] ; then \ echo ; \ echo result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f result/xtchunk/html/gdp-handbook ; \ done ) diff --git a/tests/exslt/common/Makefile.am b/tests/exslt/common/Makefile.am index cde7a449..dc6a1b54 100644 --- a/tests/exslt/common/Makefile.am +++ b/tests/exslt/common/Makefile.am @@ -50,7 +50,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad; \ done) diff --git a/tests/exslt/date/Makefile.am b/tests/exslt/date/Makefile.am index 7e0e22b6..6e9ffd8b 100644 --- a/tests/exslt/date/Makefile.am +++ b/tests/exslt/date/Makefile.am @@ -81,7 +81,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc test-logall test-current grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad; \ done) diff --git a/tests/exslt/dynamic/Makefile.am b/tests/exslt/dynamic/Makefile.am index bcc7eb38..9b1177c6 100644 --- a/tests/exslt/dynamic/Makefile.am +++ b/tests/exslt/dynamic/Makefile.am @@ -40,7 +40,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad ; \ done) diff --git a/tests/exslt/functions/Makefile.am b/tests/exslt/functions/Makefile.am index 32481061..697b3ed8 100644 --- a/tests/exslt/functions/Makefile.am +++ b/tests/exslt/functions/Makefile.am @@ -49,7 +49,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad ; \ done) diff --git a/tests/exslt/math/Makefile.am b/tests/exslt/math/Makefile.am index a4785d72..facaa414 100644 --- a/tests/exslt/math/Makefile.am +++ b/tests/exslt/math/Makefile.am @@ -51,7 +51,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad ; \ done) diff --git a/tests/exslt/sets/Makefile.am b/tests/exslt/sets/Makefile.am index 634acb4e..bc14fdf7 100644 --- a/tests/exslt/sets/Makefile.am +++ b/tests/exslt/sets/Makefile.am @@ -44,7 +44,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad ; \ done) diff --git a/tests/exslt/strings/Makefile.am b/tests/exslt/strings/Makefile.am index 0645b6d3..c5e3f406 100644 --- a/tests/exslt/strings/Makefile.am +++ b/tests/exslt/strings/Makefile.am @@ -44,7 +44,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f $$name.res $$name.bad ; \ done) diff --git a/tests/extensions/Makefile.am b/tests/extensions/Makefile.am index 4cf132d3..284e2f54 100644 --- a/tests/extensions/Makefile.am +++ b/tests/extensions/Makefile.am @@ -43,7 +43,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f result.$$name err.$$name; \ done) diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am index e531870e..24d0d43d 100644 --- a/tests/general/Makefile.am +++ b/tests/general/Makefile.am @@ -227,7 +227,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f result.$$name err.$$name; \ done ; done) @@ -259,7 +259,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f result.$$name err.$$name; \ done ; done) diff --git a/tests/namespaces/Makefile.am b/tests/namespaces/Makefile.am index 72f976e8..cfea1ea5 100644 --- a/tests/namespaces/Makefile.am +++ b/tests/namespaces/Makefile.am @@ -52,7 +52,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f result.$$name err.$$name; \ done) diff --git a/tests/reports/Makefile.am b/tests/reports/Makefile.am index bd08d249..af413f08 100644 --- a/tests/reports/Makefile.am +++ b/tests/reports/Makefile.am @@ -50,7 +50,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\ if [ -n "$$log" ] ; then \ echo $$name result ; \ - echo $$log ; \ + echo "$$log" ; \ fi ; \ rm -f result.$$name err.$$name; \ done ; done) diff --git a/tests/xmlspec/Makefile.am b/tests/xmlspec/Makefile.am index ff55d82d..123d02e4 100644 --- a/tests/xmlspec/Makefile.am +++ b/tests/xmlspec/Makefile.am @@ -26,7 +26,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo REC-xml-20001006 result ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f REC-xml-20001006.out @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \ @@ -40,7 +40,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` @if [ -n "$$log" ] ; then \ echo "REC-xml-20001006 (show.diff.markup) result" ; \ - echo $$log ; \ + echo "$$log" ; \ fi @rm -f REC-xml-20001006-review.out |