[Po4a-devel][CVS] po4a/t 02-TransTractors.t,1.7,1.8 21-dia.t,1.2,1.3

Jordi Vilalta po4a-devel@lists.alioth.debian.org
Mon, 09 Aug 2004 17:26:03 +0000


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

Modified Files:
	02-TransTractors.t 21-dia.t 
Log Message:
Updated the tests to be consistent with the encoding issues


Index: 02-TransTractors.t
===================================================================
RCS file: /cvsroot/po4a/po4a/t/02-TransTractors.t,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- 02-TransTractors.t	16 Jul 2004 00:45:41 -0000	1.7
+++ 02-TransTractors.t	9 Aug 2004 17:26:00 -0000	1.8
@@ -13,14 +13,14 @@
 mkdir "t/tmp" unless -e "t/tmp";
 
 my $diff_po_flags = " -I '^# SOME' -I '^# Test' ".
-  "-I '^\"POT-Creation-Date: ' -I '^\"Content-Type:' -I '^\"Content-Transfer-Encoding:'";
+  "-I '^\"POT-Creation-Date: ' -I '^\"Content-Transfer-Encoding:'";
 my $diff_pod_flags= " -I 'This file was generated by po4a' ";
 
 $tests[0]{'run'}  = "perl ../po4a-gettextize -f #format# -m data-02/#format# -p tmp/po";
 $tests[0]{'test'} = "diff -u -I POT-Creation-Date data-02/#format#.po-empty tmp/po";
 $tests[0]{'doc'}  = "gettextize #format# document with only the original";
 
-$tests[1]{'run'}  = "perl ../po4a-gettextize -f #format# -m data-02/#format# -l data-02/#format#.fr -p tmp/po 2>/dev/null";
+$tests[1]{'run'}  = "perl ../po4a-gettextize -f #format# -m data-02/#format# -l data-02/#format#.fr -L ISO-8859-1 -p tmp/po 2>/dev/null";
 $tests[1]{'test'} = "diff -u $diff_po_flags data-02/#format#.po tmp/po";
 $tests[1]{'doc'}  = "gettextize #format# page with original and translation";
 

Index: 21-dia.t
===================================================================
RCS file: /cvsroot/po4a/po4a/t/21-dia.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 21-dia.t	16 Jul 2004 00:45:41 -0000	1.2
+++ 21-dia.t	9 Aug 2004 17:26:00 -0000	1.3
@@ -11,7 +11,7 @@
 mkdir "t/tmp" unless -e "t/tmp";
 
 my $diff_po_flags = " -I '^# SOME' -I '^# Test' ".
-  "-I '^\"POT-Creation-Date: ' -I '^\"Content-Type:' -I '^\"Content-Transfer-Encoding:'";
+  "-I '^\"POT-Creation-Date: ' -I '^\"Content-Transfer-Encoding:'";
 
 $tests[0]{'run'}  = 'perl ../po4a-gettextize -f dia -m data-21/extract.dia -p tmp/dia_extract.po';
 $tests[0]{'test'} = "diff -u $diff_po_flags data-21/extract.po-ok tmp/dia_extract.po";