mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-05 04:47:53 +00:00
18 lines
349 B
Plaintext
18 lines
349 B
Plaintext
|
#!/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);
|