[gnumeric] tests: adjust test for ssdiff exit code change



commit 3b8df38cab7b8c91e31aea6d58bb2b4503e430aa
Author: Morten Welinder <terra gnome org>
Date:   Mon Mar 20 18:58:19 2017 -0400

    tests: adjust test for ssdiff exit code change

 test/t9001-ssconvert-resize.pl |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/test/t9001-ssconvert-resize.pl b/test/t9001-ssconvert-resize.pl
index 044d224..d00378d 100755
--- a/test/t9001-ssconvert-resize.pl
+++ b/test/t9001-ssconvert-resize.pl
@@ -13,7 +13,7 @@ my $tmp = "regress-resize.gnumeric";
 
 # Shrink rows
 &test_command ("$ssconvert --resize=8192x256 $src $tmp", sub { 1 } );
-&test_command ("$ssdiff --xml $src $tmp",
+&test_command ("($ssdiff --xml $src $tmp ; true)",
               sub {
                   $_ eq <<DIFF
 <?xml version="1.0" encoding="UTF-8"?>
@@ -27,7 +27,7 @@ DIFF
 
 # Shrink cols
 &test_command ("$ssconvert --resize=65536x128 $src $tmp", sub { 1 } );
-&test_command ("$ssdiff --xml $src $tmp",
+&test_command ("($ssdiff --xml $src $tmp ; true)",
               sub {
                   $_ eq <<DIFF
 <?xml version="1.0" encoding="UTF-8"?>
@@ -41,7 +41,7 @@ DIFF
 
 # Shrink both
 &test_command ("$ssconvert --resize=8192x128 $src $tmp", sub { 1 } );
-&test_command ("$ssdiff --xml $src $tmp",
+&test_command ("($ssdiff --xml $src $tmp ; true)",
               sub {
                   $_ eq <<DIFF
 <?xml version="1.0" encoding="UTF-8"?>
@@ -56,7 +56,7 @@ DIFF
 
 # Expand rows
 &test_command ("$ssconvert --resize=1048576x256 $src $tmp", sub { 1 } );
-&test_command ("$ssdiff --xml $src $tmp",
+&test_command ("($ssdiff --xml $src $tmp ; true)",
               sub {
                   $_ eq <<DIFF
 <?xml version="1.0" encoding="UTF-8"?>
@@ -70,7 +70,7 @@ DIFF
 
 # Expand cols
 &test_command ("$ssconvert --resize=65536x512 $src $tmp", sub { 1 } );
-&test_command ("$ssdiff --xml $src $tmp",
+&test_command ("($ssdiff --xml $src $tmp ; true)",
               sub {
                   $_ eq <<DIFF
 <?xml version="1.0" encoding="UTF-8"?>
@@ -84,7 +84,7 @@ DIFF
 
 # Expand both
 &test_command ("$ssconvert --resize=1048576x16384 $src $tmp", sub { 1 } );
-&test_command ("$ssdiff --xml $src $tmp",
+&test_command ("($ssdiff --xml $src $tmp ; true)",
               sub {
                   $_ eq <<DIFF
 <?xml version="1.0" encoding="UTF-8"?>


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