1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 14:48:32 -04:00

made valgrind a little happier

This commit is contained in:
Kenichi Ishigaki 2011-10-05 14:03:14 +00:00
parent 404246a9f9
commit 5561ee7ee3

View file

@ -8,7 +8,6 @@ BEGIN {
use Test::More;
use t::lib::Test;
use Fatal qw(open);
my @c_files = (<*.c>, <*.h>, <*.xs>);
plan tests => scalar(@c_files);
@ -20,7 +19,7 @@ foreach my $file (@c_files) {
next;
}
open my $fh, '<', $file;
open my $fh, '<', $file or die "$file: $!";
my $line = 0;
while (<$fh>) {
$line++;