New version of gnuplot creates /Title entry in dict - fixed test.

This commit is contained in:
hjp 2008-06-05 08:56:59 +00:00
parent 43d3fed888
commit 358feec650
1 changed files with 5 additions and 4 deletions

View File

@ -15,10 +15,11 @@ ok($ps2 =~ m/\(val1\) Rshow/, 'Postscript output of tsplot contains a column na
# title and creation date will be different, but the rest should be # title and creation date will be different, but the rest should be
# identical: # identical:
$ps1 =~ s/^%%Title: .*//m; for ($ps1, $ps2) {
$ps1 =~ s/^%%CreationDate: .*//m; s/^%%Title: .*//m;
$ps2 =~ s/^%%Title: .*//m; s/^%%CreationDate: .*//m;
$ps2 =~ s/^%%CreationDate: .*//m; s/^ *\/Title \(.*\)//m;
}
ok($ps1 eq $ps2, 'output of tsplot and tsplotv are identical'); ok($ps1 eq $ps2, 'output of tsplot and tsplotv are identical');
my $ps3=`./blib/script/tsplot --output_format ps --log_y t/1.data`; my $ps3=`./blib/script/tsplot --output_format ps --log_y t/1.data`;