Re: GnumericTest.pm porting question



You can probably change that to run "gzip -dcf" instead.

Morten


On Sat, Aug 26, 2017 at 3:24 AM, Jason Martin <agrellum gmail com> wrote:

I have built gnumeric and it is running fine on OpenIndiana but I want the
tests to work correcty.

I am having problems with:

GnumericTest::test_importer(GnumericTest.pm:400):
400: my $htxt = zcat -f '$tmp' | $normalize_gnumeric | sha1sum;
DB<1> s
Invalid Option
Usage: zcat [file ...]


On OpenIndiana or Solaris the zcat command will be one of the two:

my $htxt = `compress -f '$tmp' | $normalize_gnumeric | sha1sum`;
-----or---
my $htxt = `uncompress -f '$tmp' | $normalize_gnumeric | sha1sum`;

BUT how did the original author get the checksum for example the test
t5905-guppi.pl

&test_importer ("$samples/b66666-guppi.gnumeric",
"4f9552b87482dfa330ed251dffef467939478244", $mode);

None of my changes have worked so far.


Thanks



_______________________________________________
gnumeric-list mailing list
gnumeric-list gnome org
https://mail.gnome.org/mailman/listinfo/gnumeric-list



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