[libxslt] Cleanups some of the test makefiles



commit 343ef27424c708619c7089aca42c67576b62d360
Author: Daniel Richard <oss teragram com>
Date:   Fri Sep 7 16:11:07 2012 +0800

    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

 tests/REC/Makefile.am             |   16 ++++----
 tests/REC/test-7.1.1-3.out        |    2 +-
 tests/XSLTMark/Makefile.am        |   80 ++++++++++++++++++------------------
 tests/docbook/Makefile.am         |    8 ++--
 tests/exslt/common/Makefile.am    |    2 +-
 tests/exslt/date/Makefile.am      |    2 +-
 tests/exslt/dynamic/Makefile.am   |    2 +-
 tests/exslt/functions/Makefile.am |    2 +-
 tests/exslt/math/Makefile.am      |    2 +-
 tests/exslt/sets/Makefile.am      |    2 +-
 tests/exslt/strings/Makefile.am   |    2 +-
 tests/extensions/Makefile.am      |    2 +-
 tests/general/Makefile.am         |    4 +-
 tests/namespaces/Makefile.am      |    2 +-
 tests/reports/Makefile.am         |    2 +-
 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 6f89310..49f09f0 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 29c31b7..00c6f29 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 eb64cb4..b4642a1 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 1c0e48b..8dd336a 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 cde7a44..dc6a1b5 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 7e0e22b..6e9ffd8 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 bcc7eb3..9b1177c 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 3248106..697b3ed 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 a4785d7..facaa41 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 634acb4..bc14fdf 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 0645b6d..c5e3f40 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 4cf132d..284e2f5 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 e531870..24d0d43 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 72f976e..cfea1ea 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 bd08d24..af413f0 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 ff55d82..123d02e 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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]