2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 09:37:08 +00:00
qpdf/libtests/qtest/closedfile.test
Jay Berkenbilt 4ccc8b1a44 Add ClosedFileInputSource
ClosedFileInputSource is an input source that keeps the file closed
when not reading it.
2018-06-22 12:52:45 -04:00

17 lines
411 B
Perl

#!/usr/bin/env perl
require 5.008;
use warnings;
use strict;
chdir("closedfile") or die "chdir testdir failed: $!\n";
require TestDriver;
my $td = new TestDriver('closed_file_input_source');
$td->runtest("closed file input source",
{$td->COMMAND => "closed_file_input_source"},
{$td->FILE => "output", $td->EXIT_STATUS => 0},
$td->NORMALIZE_NEWLINES);
$td->report(1);