[gnumeric] t6516: cut down on the "auto" noise for ods.



commit 3c7b5263ce0784a6f014cbbb5abd95efaa082645
Author: Morten Welinder <terra gnome org>
Date:   Thu Apr 17 20:29:48 2014 -0400

    t6516: cut down on the "auto" noise for ods.
    
    This masks differences in the auto-dash setting.

 test/t6516-graph.pl |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/test/t6516-graph.pl b/test/t6516-graph.pl
index a5b3c76..b09a80d 100755
--- a/test/t6516-graph.pl
+++ b/test/t6516-graph.pl
@@ -13,11 +13,13 @@ my $file = "$samples/graph-tests.gnumeric";
                 'ext' => "gnm",
                 'ignore_failure' => 1);
 
+my $ods_auto_filter = "$PERL -p -e 's{auto-dash=\"0\" dash=\"solid\"}{auto-dash=\"1\"}'";
+
 &message ("Check graph ods roundtrip.");
 &test_roundtrip ($file,
                 'format' => 'Gnumeric_OpenCalc:odf',
                 'ext' => "ods",
-                'filter2' => "$PERL -p -e '\$_ = \"\" if m{<meta:generator>}'",
+                'filter2' => "$ods_auto_filter | $PERL -p -e '\$_ = \"\" if m{<meta:generator>}'",
                 'ignore_failure' => 1);
 
 my $xls_codepage_filter = "$PERL -p -e '\$_ = \"\" if m{<meta:user-defined meta:name=.msole:codepage.}'";


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