2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-18 18:35:09 +00:00
qpdf/libtests/qtest/input_source.test
Jay Berkenbilt 296b679d6e Implement findFirst and findLast in InputSource
Preparing to refactor some pattern searching code to use these instead
of their own memchr loops. This should simplify the code that replaces
PCRE.
2017-08-10 21:30:32 -04:00

27 lines
427 B
Perl

#!/usr/bin/env perl
require 5.008;
use warnings;
use strict;
chdir("input_source") or die "chdir testdir failed: $!\n";
require TestDriver;
my $td = new TestDriver('InputSource');
cleanup();
$td->runtest("input source tests",
{$td->COMMAND => "input_source"},
{$td->FILE => "input_source.out",
$td->EXIT_STATUS => 0},
$td->NORMALIZE_NEWLINES);
cleanup();
$td->report(1);
sub cleanup
{
}