[gnumeric] t6150: make this work, more or less,	without schema present.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnumeric] t6150: make this work, more or less,	without schema present.
- Date: Thu, 16 Apr 2015 21:59:50 +0000 (UTC)
commit 715707fe5deb6e7e8f4a5bc6acb813f9e0edc070
Author: Morten Welinder <terra gnome org>
Date:   Thu Apr 16 17:57:34 2015 -0400
    t6150: make this work, more or less, without schema present.
 test/t6150-ods-syntax.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test/t6150-ods-syntax.pl b/test/t6150-ods-syntax.pl
index 874fbe1..c4d584b 100755
--- a/test/t6150-ods-syntax.pl
+++ b/test/t6150-ods-syntax.pl
@@ -116,7 +116,7 @@ foreach my $src (@sources) {
            my $cmd = "$unzip -p $tmp $member | $this_checker --noout -";
            print STDERR "# $cmd\n" if $GnumericTest::verbose;
            my $out = `$cmd 2>&1`;
-           if ($out !~ /^- validates$/) {
+           if ($out ne '' && $out !~ /^- validates$/) {
                print STDERR "While checking $member from $tmp:\n";
                &GnumericTest::dump_indented ($out);
                $nbad++;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]