mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-18 02:25:08 +00:00
296b679d6e
Preparing to refactor some pattern searching code to use these instead of their own memchr loops. This should simplify the code that replaces PCRE.
27 lines
427 B
Perl
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
|
|
{
|
|
}
|