[Po4a-commits] po4a/t 02-TransTractors.t,1.8,1.9

Nicolas FRAN??OIS po4a-devel@lists.alioth.debian.org
Sun, 27 Feb 2005 15:28:52 +0000


Update of /cvsroot/po4a/po4a/t
In directory haydn:/tmp/cvs-serv6316/t

Modified Files:
	02-TransTractors.t 
Log Message:
Update the regression test suite:
  * change back non breaking spaces to '\\ ' in the PO files for man pages.
  * original and normalized documents can be different.
  * the man module may add a '\&' (zero width space). This is because a line
    starting by \fI.foo\fR can be interpreted as a line beginning by a dot,
    which will be ignored. (this depends on the context)



Index: 02-TransTractors.t
===================================================================
RCS file: /cvsroot/po4a/po4a/t/02-TransTractors.t,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- 02-TransTractors.t	9 Aug 2004 17:26:00 -0000	1.8
+++ 02-TransTractors.t	27 Feb 2005 15:28:50 -0000	1.9
@@ -29,7 +29,7 @@
 $tests[2]{'doc'}  = "updatepo for #format# document";
 
 $tests[3]{'run'}  = "perl ../po4a-translate -f #format# -m data-02/#format# -p data-02/#format#.po-ok -l tmp/#format#.fr";
-$tests[3]{'test'} = "diff -u $diff_pod_flags data-02/#format#.fr tmp/#format#.fr";
+$tests[3]{'test'} = "diff data-02/#format#.fr-normalized tmp/#format#.fr";
 $tests[3]{'doc'}  = "translate #format# document";