Shut up some warnings.
This commit is contained in:
parent
674160c45c
commit
9ba25e1b7b
|
@ -43,7 +43,7 @@ if (length($g) > 0 && substr($g, 0, 4) eq "\211PNG") {
|
|||
|
||||
$test = 4;
|
||||
$ts->output_format("gif");
|
||||
my $g = $ts->plot();
|
||||
$g = $ts->plot();
|
||||
# print STDERR "length \$g = ", length($g), "\n";
|
||||
if (length($g) > 0 && substr($g, 0, 6) eq "GIF87a") {
|
||||
print "ok $test\n";
|
||||
|
@ -53,7 +53,7 @@ if (length($g) > 0 && substr($g, 0, 6) eq "GIF87a") {
|
|||
|
||||
$test = 5;
|
||||
$ts->output_format("jpeg");
|
||||
my $g = $ts->plot();
|
||||
$g = $ts->plot();
|
||||
# print STDERR "length \$g = ", length($g), "\n";
|
||||
if (length($g) > 0 && substr($g, 0, 10) eq "\377\330\377\340\000\020JFIF") {
|
||||
print "ok $test\n";
|
||||
|
@ -63,7 +63,7 @@ if (length($g) > 0 && substr($g, 0, 10) eq "\377\330\377\340\000\020JFIF") {
|
|||
|
||||
$test = 6;
|
||||
$ts->output_format("ps");
|
||||
my $g = $ts->plot();
|
||||
$g = $ts->plot();
|
||||
# print STDERR "length \$g = ", length($g), "\n";
|
||||
if (length($g) > 0 && substr($g, 0, 2) eq "%!") {
|
||||
print "ok $test\n";
|
||||
|
|
Loading…
Reference in New Issue