mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 19:08:59 +00:00
18 lines
349 B
Perl
18 lines
349 B
Perl
#!/usr/bin/env perl
|
|
require 5.008;
|
|
BEGIN { $^W = 1; }
|
|
use strict;
|
|
|
|
chdir("count-strings");
|
|
|
|
require TestDriver;
|
|
|
|
my $td = new TestDriver('pdf-count-strings');
|
|
|
|
$td->runtest("filter tokens",
|
|
{$td->COMMAND => "pdf-count-strings in.pdf"},
|
|
{$td->FILE => "out", $td->EXIT_STATUS => 0},
|
|
$td->NORMALIZE_NEWLINES);
|
|
|
|
$td->report(1);
|